avcodec/adpcm_ima_cunning: reset state on flush
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
(cherry picked from commit e550667f61
)
This commit is contained in:
@ -2124,6 +2124,7 @@ static void adpcm_flush(AVCodecContext *avctx)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case AV_CODEC_ID_ADPCM_IMA_ALP:
|
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_IMA_SSI:
|
||||||
case AV_CODEC_ID_ADPCM_ZORK:
|
case AV_CODEC_ID_ADPCM_ZORK:
|
||||||
for (int channel = 0; channel < avctx->channels; channel++) {
|
for (int channel = 0; channel < avctx->channels; channel++) {
|
||||||
|
Reference in New Issue
Block a user