diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h index f12b897e23..47d10e91fa 100644 --- a/libavcodec/mpegaudio.h +++ b/libavcodec/mpegaudio.h @@ -70,8 +70,6 @@ typedef float OUT_INT; #define OUT_FMT AV_SAMPLE_FMT_FLT #else typedef int16_t OUT_INT; -#define OUT_MAX INT16_MAX -#define OUT_MIN INT16_MIN #define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15) #define OUT_FMT AV_SAMPLE_FMT_S16 #endif diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 7fd6bd2dc6..10a63c57be 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -490,7 +490,7 @@ static inline int round_sample(int64_t *sum) int sum1; sum1 = (int)((*sum) >> OUT_SHIFT); *sum &= (1<