mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 10:26:09 +00:00
libfaad2: make a function static
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' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32343 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4c904953b5
commit
65e3208b1a
@ -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;
|
||||
}
|
||||
|
@ -462,9 +462,9 @@ static INLINE real_t get_sample(real_t **input, uint8_t channel, uint16_t sample
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user