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:05:16 +0300
committerZane van Iperen <zane@zanevaniperen.com>2021-03-25 05:51:09 +0300
commitff7bbd6d887f77aa6e2de6a60af8a25baf4eb2d5 (patch)
tree543b6ead10a0e0bd9a097c17f8c03c879681f20e /libavcodec/adpcm.c
parent660c14a9b9fe6e7add23163f8fc63a4f0824b434 (diff)
avcodec/adpcm_ima_ssi: 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 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;