Commit f5c6c08b authored by rtognimp's avatar rtognimp

Reverse patch 1.59->1.60, it break mp3 in ffplay and ffmpeg

Reversing approved by patch author


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4646 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 593e256b
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#define WFRAC_BITS 14 /* fractional bits for window */ #define WFRAC_BITS 14 /* fractional bits for window */
#endif #endif
#if defined(USE_HIGHPRECISION) #if defined(USE_HIGHPRECISION) && defined(CONFIG_AUDIO_NONSHORT)
typedef int32_t OUT_INT; typedef int32_t OUT_INT;
#define OUT_MAX INT32_MAX #define OUT_MAX INT32_MAX
#define OUT_MIN INT32_MIN #define OUT_MIN INT32_MIN
...@@ -329,7 +329,7 @@ static int decode_init(AVCodecContext * avctx) ...@@ -329,7 +329,7 @@ static int decode_init(AVCodecContext * avctx)
static int init=0; static int init=0;
int i, j, k; int i, j, k;
#if defined(USE_HIGHPRECISION) #if defined(USE_HIGHPRECISION) && defined(CONFIG_AUDIO_NONSHORT)
avctx->sample_fmt= SAMPLE_FMT_S32; avctx->sample_fmt= SAMPLE_FMT_S32;
#else #else
avctx->sample_fmt= SAMPLE_FMT_S16; avctx->sample_fmt= SAMPLE_FMT_S16;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment