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
This commit is contained in:
Reimar Döffinger 2010-12-13 17:54:00 +00:00
parent d5f187fd33
commit 0c1758f018

View File

@ -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 =