summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-12-13 17:54:00 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-12-13 17:54:00 +0000
commit0c1758f0183116eda9fd8983deb0d1f3779a493d (patch)
tree79e0f17e09c75e7a6365edd02879d30a8ef830f6
parentd5f187fd3355ec6d4922d8479930c10d1b6f9ebf (diff)
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
-rw-r--r--libavcodec/qdm2.c2
1 files changed, 1 insertions, 1 deletions
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 =