Module: libav Branch: master Commit: ec6d743118282bbbc652372a7af44c6ec6f8048e
Author: Justin Ruggles <[email protected]> Committer: Justin Ruggles <[email protected]> Date: Tue Oct 25 12:46:57 2011 -0400 mp3on4: do not needlessly set data_size to 0 --- 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; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
