summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZane van Iperen <[email protected]>2021-03-23 21:05:42 +1000
committerZane van Iperen <[email protected]>2021-03-25 16:34:41 +1000
commit0d00e151d10cc55dd49a90bdc118f7a722bd1e1b (patch)
tree817b786735477d6e46d2997459706fa49d089f64
parent990bccfad63c9761f2cabb8ea1f0428be7d67b9b (diff)
avcodec/adpcm_ima_alp: reset state on flush
Signed-off-by: Zane van Iperen <[email protected]> (cherry picked from commit 257d9f91fc8c6c800a9944551be809fabff43896)
-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++) {