Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-03-23 14:42:46 +0300
committerZane van Iperen <zane@zanevaniperen.com>2021-03-25 05:51:09 +0300
commite550667f614dfd21dadd8a8e4ada806c48349beb (patch)
tree1aeca6412011384eba86175bfd537c836dfc0ff3 /libavcodec/adpcm.c
parent257d9f91fc8c6c800a9944551be809fabff43896 (diff)
avcodec/adpcm_ima_cunning: reset state on flush
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r--libavcodec/adpcm.c1
1 files changed, 1 insertions, 0 deletions
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++) {