mp3on4: do not needlessly set data_size to 0

pull/2/head
Justin Ruggles 13 years ago
parent 99975966c3
commit ec6d743118
  1. 1
      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;

Loading…
Cancel
Save