[FFmpeg-soc] [soc]: r1609 - eac3/eac3dec.c

jbr subversion at mplayerhq.hu
Thu Dec 20 02:03:52 CET 2007


Author: jbr
Date: Thu Dec 20 02:03:51 2007
New Revision: 1609

Log:
put whole spectral extension function inside #if 0 instead of calling an empty
function.

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Thu Dec 20 02:03:51 2007
@@ -36,9 +36,9 @@ static void log_missing_feature(AVCodecC
             "mailing list.\n", log);
 }
 
+#if 0
 static void spectral_extension(EAC3Context *s){
     //Now turned off, because there are no samples for testing it.
-#if 0
     int copystartmant, copyendmant, copyindex, insertindex;
     int wrapflag[18];
     int bandsize, bnd, bin, spxmant, filtbin, ch;
@@ -146,8 +146,8 @@ static void spectral_extension(EAC3Conte
             }
         }
     }
-#endif
 }
+#endif
 
 static void get_transform_coeffs_aht_ch(GetBitContext *gbc, EAC3Context *s, int ch){
     int endbap, bin, n, m;
@@ -1166,9 +1166,11 @@ static int parse_audblk(GetBitContext *g
                 s->transform_coeffs, s->cpl_coords);
     }
 
+#if 0
     //apply spectral extension
     if (s->spxinu)
         spectral_extension(s);
+#endif
 
     return 0;
 }



More information about the FFmpeg-soc mailing list