mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
d5f187fd33
commit
0c1758f018
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user