diff options
author | Roberto Togni <r_togni@tiscali.it> | 2005-10-15 16:29:58 +0000 |
---|---|---|
committer | Roberto Togni <r_togni@tiscali.it> | 2005-10-15 16:29:58 +0000 |
commit | e6885654eb5e904102cf8c5c3d41d6d2a887545c (patch) | |
tree | 880de7d23f22f73087d20a70fbae3acf6327e226 /libavcodec/mpegaudiodec.c | |
parent | adeba28193800127bc294966544cc2c2d3a2acde (diff) | |
download | ffmpeg-e6885654eb5e904102cf8c5c3d41d6d2a887545c.tar.gz |
Reverse patch 1.59->1.60, it break mp3 in ffplay and ffmpeg
Reversing approved by patch author
Originally committed as revision 4646 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 6587e9aff6..708d355360 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -48,7 +48,7 @@ #define WFRAC_BITS 14 /* fractional bits for window */ #endif -#if defined(USE_HIGHPRECISION) +#if defined(USE_HIGHPRECISION) && defined(CONFIG_AUDIO_NONSHORT) typedef int32_t OUT_INT; #define OUT_MAX INT32_MAX #define OUT_MIN INT32_MIN @@ -329,7 +329,7 @@ static int decode_init(AVCodecContext * avctx) static int init=0; int i, j, k; -#if defined(USE_HIGHPRECISION) +#if defined(USE_HIGHPRECISION) && defined(CONFIG_AUDIO_NONSHORT) avctx->sample_fmt= SAMPLE_FMT_S32; #else avctx->sample_fmt= SAMPLE_FMT_S16; |