[MPlayer-cvslog] r32343 - in trunk/libfaad2: local_changes.diff output.c

diego subversion at mplayerhq.hu
Wed Sep 22 23:09:00 CEST 2010


Author: diego
Date: Wed Sep 22 23:08:59 2010
New Revision: 32343

Log:
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'

Modified:
   trunk/libfaad2/local_changes.diff
   trunk/libfaad2/output.c

Modified: trunk/libfaad2/local_changes.diff
==============================================================================
--- trunk/libfaad2/local_changes.diff	Wed Sep 22 14:14:38 2010	(r32342)
+++ trunk/libfaad2/local_changes.diff	Wed Sep 22 23:08:59 2010	(r32343)
@@ -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;
  }

Modified: trunk/libfaad2/output.c
==============================================================================
--- trunk/libfaad2/output.c	Wed Sep 22 14:14:38 2010	(r32342)
+++ trunk/libfaad2/output.c	Wed Sep 22 23:08:59 2010	(r32343)
@@ -462,9 +462,9 @@ static INLINE real_t get_sample(real_t *
     }
 }
 
-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;


More information about the MPlayer-cvslog mailing list