Browse Source

mp3on4: do not needlessly set data_size to 0

tags/n0.9
Justin Ruggles 13 years ago
parent
commit
ec6d743118
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/mpegaudiodec.c

+ 0
- 1
libavcodec/mpegaudiodec.c 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;


Loading…
Cancel
Save