[FFmpeg-cvslog] r10955 - in trunk/libavcodec: mpegaudiodata.h mpegaudiodec.c

benoit subversion
Thu Nov 8 11:53:32 CET 2007


Author: benoit
Date: Thu Nov  8 11:53:32 2007
New Revision: 10955

Log:
Move 2 defines from mpegaudiodec.c to mpegaudiodata.h to allow compilation
when DEBUG is defined.
Patch by Martin Lindhe: martin startwars org


Modified:
   trunk/libavcodec/mpegaudiodata.h
   trunk/libavcodec/mpegaudiodec.c

Modified: trunk/libavcodec/mpegaudiodata.h
==============================================================================
--- trunk/libavcodec/mpegaudiodata.h	(original)
+++ trunk/libavcodec/mpegaudiodata.h	Thu Nov  8 11:53:32 2007
@@ -29,6 +29,9 @@
 
 #include "common.h"
 
+#define MODE_EXT_MS_STEREO 2
+#define MODE_EXT_I_STEREO  1
+
 extern const uint16_t ff_mpa_bitrate_tab[2][3][15];
 extern const uint16_t ff_mpa_freq_tab[3];
 extern const int32_t ff_mpa_enwindow[257];

Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c	(original)
+++ trunk/libavcodec/mpegaudiodec.c	Thu Nov  8 11:53:32 2007
@@ -85,9 +85,6 @@ typedef struct GranuleDef {
     int32_t sb_hybrid[SBLIMIT * 18]; /* 576 samples */
 } GranuleDef;
 
-#define MODE_EXT_MS_STEREO 2
-#define MODE_EXT_I_STEREO  1
-
 #include "mpegaudiodata.h"
 #include "mpegaudiodectab.h"
 




More information about the ffmpeg-cvslog mailing list