Commit 0c1758f0 authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent d5f187fd
...@@ -1971,7 +1971,7 @@ static int qdm2_decode_frame(AVCodecContext *avctx, ...@@ -1971,7 +1971,7 @@ static int qdm2_decode_frame(AVCodecContext *avctx,
*data_size = (uint8_t*)out - (uint8_t*)data; *data_size = (uint8_t*)out - (uint8_t*)data;
return buf_size; return s->checksum_size;
} }
AVCodec qdm2_decoder = AVCodec qdm2_decoder =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment