diff options
author | Martin Lindhe <martin@startwars.org> | 2007-11-08 10:53:32 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-11-08 10:53:32 +0000 |
commit | 3240941b2552ec9b6373163240bb89a4bab40c50 (patch) | |
tree | 5188be829364b69cbf7434eb7c379dfa1d29b70f /libavcodec | |
parent | 36c9e40ab41f22c795de3c5302475515227ece60 (diff) | |
download | ffmpeg-3240941b2552ec9b6373163240bb89a4bab40c50.tar.gz |
Move 2 defines from mpegaudiodec.c to mpegaudiodata.h to allow compilation
when DEBUG is defined.
Patch by Martin Lindhe: martin startwars org
Originally committed as revision 10955 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegaudiodata.h | 3 | ||||
-rw-r--r-- | libavcodec/mpegaudiodec.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegaudiodata.h b/libavcodec/mpegaudiodata.h index 09254cb0a7..d513645b57 100644 --- a/libavcodec/mpegaudiodata.h +++ b/libavcodec/mpegaudiodata.h @@ -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]; diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index d679b006be..83ee255c7d 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -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" |