[FFmpeg-cvslog] r25943 - trunk/libavcodec/qdm2.c

reimar subversion
Mon Dec 13 18:54:01 CET 2010


Author: reimar
Date: Mon Dec 13 18:54:00 2010
New Revision: 25943

Log:
Return the amount of input data actually used in the qdm2 decoder,
allows playback of files where multiple qdm2 packets have been merged.

Modified:
   trunk/libavcodec/qdm2.c

Modified: trunk/libavcodec/qdm2.c
==============================================================================
--- trunk/libavcodec/qdm2.c	Sun Dec 12 18:59:10 2010	(r25942)
+++ trunk/libavcodec/qdm2.c	Mon Dec 13 18:54:00 2010	(r25943)
@@ -1971,7 +1971,7 @@ static int qdm2_decode_frame(AVCodecCont
 
     *data_size = (uint8_t*)out - (uint8_t*)data;
 
-    return buf_size;
+    return s->checksum_size;
 }
 
 AVCodec qdm2_decoder =



More information about the ffmpeg-cvslog mailing list