1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

mp3on4: do not needlessly set data_size to 0

This commit is contained in:
Justin Ruggles
2011-10-25 12:46:57 -04:00
parent 99975966c3
commit ec6d743118

View File

@@ -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;