[FFmpeg-cvslog] mp3on4: do not needlessly set data_size to 0
Justin Ruggles
git at videolan.org
Sat Oct 29 02:31:35 CEST 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Tue Oct 25 12:46:57 2011 -0400| [ec6d743118282bbbc652372a7af44c6ec6f8048e] | committer: Justin Ruggles
mp3on4: do not needlessly set data_size to 0
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec6d743118282bbbc652372a7af44c6ec6f8048e
---
libavcodec/mpegaudiodec.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 2751df6..d5af782 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;
More information about the ffmpeg-cvslog
mailing list