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
pull/126/head
Martin Lindhe 17 years ago committed by Benoit Fouet
parent 36c9e40ab4
commit 3240941b25
  1. 3
      libavcodec/mpegaudiodata.h
  2. 3
      libavcodec/mpegaudiodec.c

@ -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];

@ -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"

Loading…
Cancel
Save