1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

avcodec/adpcm_ima_cunning: reset state on flush

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
(cherry picked from commit e550667f614dfd21dadd8a8e4ada806c48349beb)
This commit is contained in:
Zane van Iperen 2021-03-23 21:42:46 +10:00
parent 0d00e151d1
commit 0cfea0581b
No known key found for this signature in database
GPG Key ID: 68616B2D8AC4DCC5

View File

@ -2124,6 +2124,7 @@ static void adpcm_flush(AVCodecContext *avctx)
break;
case AV_CODEC_ID_ADPCM_IMA_ALP:
case AV_CODEC_ID_ADPCM_IMA_CUNNING:
case AV_CODEC_ID_ADPCM_IMA_SSI:
case AV_CODEC_ID_ADPCM_ZORK:
for (int channel = 0; channel < avctx->channels; channel++) {