From 0c1758f0183116eda9fd8983deb0d1f3779a493d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Mon, 13 Dec 2010 17:54:00 +0000 Subject: [PATCH] Return the amount of input data actually used in the qdm2 decoder, allows playback of files where multiple qdm2 packets have been merged. Originally committed as revision 25943 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/qdm2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index efcf6b508b..a5fa28dc9d 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -1971,7 +1971,7 @@ static int qdm2_decode_frame(AVCodecContext *avctx, *data_size = (uint8_t*)out - (uint8_t*)data; - return buf_size; + return s->checksum_size; } AVCodec qdm2_decoder =