[SCM] libav/experimental: Return the amount of input data actually used in the qdm2 decoder, allows playback of files where multiple qdm2 packets have been merged.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:20:05 UTC 2013


The following commit has been merged in the experimental branch:
commit 0c1758f0183116eda9fd8983deb0d1f3779a493d
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Mon Dec 13 17:54:00 2010 +0000

    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

diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index efcf6b5..a5fa28d 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 =

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list