diff src/aac/libfaad2/decoder.c @ 3006:169f6ee38cad

Defining C functions in headers is awkward, move to the one C file that actually uses it.
author Tony Vroon <chainsaw@gentoo.org>
date Wed, 08 Apr 2009 22:30:45 +0100
parents 3d6a2732f26a
children
line wrap: on
line diff
--- a/src/aac/libfaad2/decoder.c	Wed Apr 08 22:16:01 2009 +0100
+++ b/src/aac/libfaad2/decoder.c	Wed Apr 08 22:30:45 2009 +0100
@@ -209,7 +209,7 @@
     return 0;
 }
 
-
+#if 0
 static int latmCheck(latm_header *latm, bitfile *ld)
 {
     uint32_t good=0, bad=0, bits, m;
@@ -233,7 +233,7 @@
 
     return (good>0);
 }
-
+#endif
 
 long NEAACDECAPI NeAACDecInit(NeAACDecHandle hpDecoder,
                               unsigned char *buffer,
@@ -839,7 +839,9 @@
     uint32_t bitsconsumed;
     uint16_t frame_len;
     void *sample_buffer;
+#if 0
     uint32_t startbit=0, endbit=0, payload_bits=0;
+#endif
 
 #ifdef PROFILE
     int64_t count = faad_get_ts();