summaryrefslogtreecommitdiff
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-03-23 21:05:42 +1000
committerZane van Iperen <zane@zanevaniperen.com>2021-03-25 12:51:09 +1000
commit257d9f91fc8c6c800a9944551be809fabff43896 (patch)
treecaa33ab863532e9f9869cdbbdbc1f64e64873f21 /libavcodec/adpcm.c
parentff7bbd6d887f77aa6e2de6a60af8a25baf4eb2d5 (diff)
downloadffmpeg-257d9f91fc8c6c800a9944551be809fabff43896.tar.gz
avcodec/adpcm_ima_alp: 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 e31f68b076..f154188b5d 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_ALP:
case AV_CODEC_ID_ADPCM_IMA_SSI:
case AV_CODEC_ID_ADPCM_ZORK:
for (int channel = 0; channel < avctx->channels; channel++) {