ffmpeg | branch: release/4.4 | Zane van Iperen <[email protected]> | Tue 
Mar 23 21:05:16 2021 +1000| [990bccfad63c9761f2cabb8ea1f0428be7d67b9b] | 
committer: Zane van Iperen

avcodec/adpcm_ima_ssi: reset state on flush

Signed-off-by: Zane van Iperen <[email protected]>
(cherry picked from commit ff7bbd6d887f77aa6e2de6a60af8a25baf4eb2d5)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=990bccfad63c9761f2cabb8ea1f0428be7d67b9b
---

 libavcodec/adpcm.c | 1 +
 1 file changed, 1 insertion(+)

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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to