Browse Source

avcodec/adpcm_ima_cunning: reset state on flush

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
master
Zane van Iperen 4 years ago
parent
commit
e550667f61
No known key found for this signature in database GPG Key ID: 68616B2D8AC4DCC5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/adpcm.c

+ 1
- 0
libavcodec/adpcm.c View File

@@ -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++) {


Loading…
Cancel
Save