mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
avcodec/adpcm_ima_ssi: reset state on flush
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> (cherry picked from commit ff7bbd6d887f77aa6e2de6a60af8a25baf4eb2d5)
This commit is contained in:
parent
f0169e9d58
commit
990bccfad6
@ -2123,6 +2123,7 @@ static void adpcm_flush(AVCodecContext *avctx)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case AV_CODEC_ID_ADPCM_IMA_SSI:
|
||||||
case AV_CODEC_ID_ADPCM_ZORK:
|
case AV_CODEC_ID_ADPCM_ZORK:
|
||||||
for (int channel = 0; channel < avctx->channels; channel++) {
|
for (int channel = 0; channel < avctx->channels; channel++) {
|
||||||
c->status[channel].predictor = 0;
|
c->status[channel].predictor = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user