Mercurial > libavcodec.hg
changeset 5886:85c4aca68be3 libavcodec
Move 2 defines from mpegaudiodec.c to mpegaudiodata.h to allow compilation
when DEBUG is defined.
Patch by Martin Lindhe: martin startwars org
author | benoit |
---|---|
date | Thu, 08 Nov 2007 10:53:32 +0000 |
parents | 5c19c955c62b |
children | 83ac4620c6ed |
files | mpegaudiodata.h mpegaudiodec.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegaudiodata.h Wed Nov 07 23:42:24 2007 +0000 +++ b/mpegaudiodata.h Thu Nov 08 10:53:32 2007 +0000 @@ -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];
--- a/mpegaudiodec.c Wed Nov 07 23:42:24 2007 +0000 +++ b/mpegaudiodec.c Thu Nov 08 10:53:32 2007 +0000 @@ -85,9 +85,6 @@ 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"