[FFmpeg-devel] [PATCH 07/11] avcodec/adpcm_ima_cunning: reset state on flush
Zane van Iperen
zane at zanevaniperen.com
Tue Mar 23 16:13:01 EET 2021
Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
libavcodec/adpcm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index f154188b5d..8aab07e334 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -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++) {
--
2.29.3
More information about the ffmpeg-devel
mailing list