diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 2751df6213..d5af782ac7 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -2047,7 +2047,6 @@ static int decode_frame_mp3on4(AVCodecContext * avctx, return AVERROR(EINVAL); } - *data_size = 0; // Discard too short frames if (buf_size < HEADER_SIZE) return AVERROR_INVALIDDATA;