[SCM] libav/experimental: make decoder decode the first frame properly if theres more than just one frame input
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:00:33 UTC 2013
The following commit has been merged in the experimental branch:
commit d5aa01cd302c4cb6562f054257f864ba47ccdce1
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sun May 27 22:34:49 2007 +0000
make decoder decode the first frame properly if theres more than just one
frame input
Originally committed as revision 9144 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index bfd54d5..0cb6476 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -2417,6 +2417,7 @@ retry:
return -1;
}else if(s->frame_size < buf_size){
av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
+ buf_size= s->frame_size;
}
out_size = mp_decode_frame(s, out_samples, buf, buf_size);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list