diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-12-13 17:54:00 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-12-13 17:54:00 +0000 |
commit | 0c1758f0183116eda9fd8983deb0d1f3779a493d (patch) | |
tree | 79e0f17e09c75e7a6365edd02879d30a8ef830f6 /libavcodec/qdm2.c | |
parent | d5f187fd3355ec6d4922d8479930c10d1b6f9ebf (diff) | |
download | ffmpeg-0c1758f0183116eda9fd8983deb0d1f3779a493d.tar.gz |
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
Diffstat (limited to 'libavcodec/qdm2.c')
-rw-r--r-- | libavcodec/qdm2.c | 2 |
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 = |