Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
65a8822a
Commit
65a8822a
authored
Nov 20, 2008
by
Laszlo Ashin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aac: get rid of gcc warnings
parent
7ac3abf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
aac_plugin.c
src/decoder/aac_plugin.c
+2
-2
No files found.
src/decoder/aac_plugin.c
View file @
65a8822a
...
...
@@ -256,7 +256,7 @@ static float getAacFloatTotalTime(const char *file)
/* neaacdec.h declares all arguments as "unsigned long", but
internally expects uint32_t pointers. To avoid gcc
warnings, use this workaround. */
unsigned
long
*
sample_rate_r
=
(
unsigned
long
*
)
&
sample_rate
;
unsigned
long
*
sample_rate_r
=
(
unsigned
long
*
)(
void
*
)
&
sample_rate
;
#else
uint32_t
*
sample_rate_r
=
&
sample_rate
;
#endif
...
...
@@ -320,7 +320,7 @@ aac_stream_decode(struct decoder *mpd_decoder, struct input_stream *inStream)
/* neaacdec.h declares all arguments as "unsigned long", but
internally expects uint32_t pointers. To avoid gcc
warnings, use this workaround. */
unsigned
long
*
sample_rate_r
=
(
unsigned
long
*
)
&
sample_rate
;
unsigned
long
*
sample_rate_r
=
(
unsigned
long
*
)(
void
*
)
&
sample_rate
;
#else
uint32_t
*
sample_rate_r
=
&
sample_rate
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment