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 12:51:09 +1000 |
commit | e550667f614dfd21dadd8a8e4ada806c48349beb (patch) | |
tree | 1aeca6412011384eba86175bfd537c836dfc0ff3 /libavcodec/adpcm.c | |
parent | 257d9f91fc8c6c800a9944551be809fabff43896 (diff) | |
download | ffmpeg-e550667f614dfd21dadd8a8e4ada806c48349beb.tar.gz |
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.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++) { |