Browse Source

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
tags/v0.5
Martin Lindhe Benoit Fouet 18 years ago
parent
commit
3240941b25
2 changed files with 3 additions and 3 deletions
  1. +3
    -0
      libavcodec/mpegaudiodata.h
  2. +0
    -3
      libavcodec/mpegaudiodec.c

+ 3
- 0
libavcodec/mpegaudiodata.h View File

@@ -29,6 +29,9 @@


#include "common.h" #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_bitrate_tab[2][3][15];
extern const uint16_t ff_mpa_freq_tab[3]; extern const uint16_t ff_mpa_freq_tab[3];
extern const int32_t ff_mpa_enwindow[257]; extern const int32_t ff_mpa_enwindow[257];


+ 0
- 3
libavcodec/mpegaudiodec.c View File

@@ -85,9 +85,6 @@ typedef struct GranuleDef {
int32_t sb_hybrid[SBLIMIT * 18]; /* 576 samples */ int32_t sb_hybrid[SBLIMIT * 18]; /* 576 samples */
} GranuleDef; } GranuleDef;


#define MODE_EXT_MS_STEREO 2
#define MODE_EXT_I_STEREO 1

#include "mpegaudiodata.h" #include "mpegaudiodata.h"
#include "mpegaudiodectab.h" #include "mpegaudiodectab.h"




Loading…
Cancel
Save