ffmpeg | branch: release/4.4 | Zane van Iperen <[email protected]> | Tue 
Mar 23 21:42:46 2021 +1000| [0cfea0581b710cd92c0bb07f35bb97fc34f7e719] | 
committer: Zane van Iperen

avcodec/adpcm_ima_cunning: reset state on flush

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

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

 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++) {

_______________________________________________
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