diff mbox series

[FFmpeg-devel,05/11] avcodec/adpcm_ima_ssi: reset state on flush

Message ID 20210323141305.19229-5-zane@zanevaniperen.com
State Accepted
Commit ff7bbd6d887f77aa6e2de6a60af8a25baf4eb2d5
Headers show
Series [FFmpeg-devel,01/11] avcodec/adpcm: add comment to has_status field
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Zane van Iperen March 23, 2021, 2:12 p.m. UTC
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 libavcodec/adpcm.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 07fa1a65b3..e31f68b076 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -2123,6 +2123,7 @@  static void adpcm_flush(AVCodecContext *avctx)
         }
         break;
 
+    case AV_CODEC_ID_ADPCM_IMA_SSI:
     case AV_CODEC_ID_ADPCM_ZORK:
         for (int channel = 0; channel < avctx->channels; channel++) {
             c->status[channel].predictor  = 0;