mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +00: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