diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-25 12:46:57 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-27 22:06:32 -0400 |
commit | ec6d743118282bbbc652372a7af44c6ec6f8048e (patch) | |
tree | f741dd675a651bac1f993d6801b619bfd327e800 /libavcodec/mpegaudiodec.c | |
parent | 99975966c319f8995f20c8db56a5cf77cfeb69ee (diff) | |
download | ffmpeg-ec6d743118282bbbc652372a7af44c6ec6f8048e.tar.gz |
mp3on4: do not needlessly set data_size to 0
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |