diff options
author | Zane van Iperen <zane@zanevaniperen.com> | 2021-03-23 21:42:46 +1000 |
---|---|---|
committer | Zane van Iperen <zane@zanevaniperen.com> | 2021-03-25 16:34:41 +1000 |
commit | 0cfea0581b710cd92c0bb07f35bb97fc34f7e719 (patch) | |
tree | f30ad348992f0e639484b920aea5576d310b3db8 | |
parent | 0d00e151d10cc55dd49a90bdc118f7a722bd1e1b (diff) | |
download | ffmpeg-0cfea0581b710cd92c0bb07f35bb97fc34f7e719.tar.gz |
avcodec/adpcm_ima_cunning: reset state on flush
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
(cherry picked from commit e550667f614dfd21dadd8a8e4ada806c48349beb)
-rw-r--r-- | libavcodec/adpcm.c | 1 |
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++) { |