Mercurial > mplayer.hg
changeset 32259:3a4e51bbca62
Mark output_to_PCM_sux as static, it is not used outside of the file; fixes:
libfaad2/output.c:465: warning: no previous prototype for 'output_to_PCM_sux'
author | diego |
---|---|
date | Wed, 22 Sep 2010 21:08:59 +0000 |
parents | b0ca20e4b5cd |
children | 56dadca4f36d |
files | libfaad2/local_changes.diff libfaad2/output.c |
diffstat | 2 files changed, 11 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libfaad2/local_changes.diff Wed Sep 22 12:14:38 2010 +0000 +++ b/libfaad2/local_changes.diff Wed Sep 22 21:08:59 2010 +0000 @@ -99,15 +99,19 @@ #error --- libfaad2.orig/output.c 2006-03-16 20:15:04.000000000 +0100 +++ libfaad2/output.c 2006-04-18 19:50:26.000000000 +0200 -@@ -463,7 +462,7 @@ +@@ -463,9 +462,9 @@ } } -void* output_to_PCM(NeAACDecHandle hDecoder, -+void* output_to_PCM_sux(NeAACDecHandle hDecoder, - real_t **input, void *sample_buffer, uint8_t channels, - uint16_t frame_len, uint8_t format) +- real_t **input, void *sample_buffer, uint8_t channels, +- uint16_t frame_len, uint8_t format) ++static void* output_to_PCM_sux(NeAACDecHandle hDecoder, ++ real_t **input, void *sample_buffer, uint8_t channels, ++ uint16_t frame_len, uint8_t format) { + uint8_t ch; + uint16_t i; @@ -554,4 +553,51 @@ return sample_buffer; }
--- a/libfaad2/output.c Wed Sep 22 12:14:38 2010 +0000 +++ b/libfaad2/output.c Wed Sep 22 21:08:59 2010 +0000 @@ -462,9 +462,9 @@ } } -void* output_to_PCM_sux(NeAACDecHandle hDecoder, - real_t **input, void *sample_buffer, uint8_t channels, - uint16_t frame_len, uint8_t format) +static void* output_to_PCM_sux(NeAACDecHandle hDecoder, + real_t **input, void *sample_buffer, uint8_t channels, + uint16_t frame_len, uint8_t format) { uint8_t ch; uint16_t i;