[FFmpeg-cvslog] avcodec/adpcm_ima_alp: reset state on flush

Zane van Iperen git at videolan.org
Thu Mar 25 05:04:05 EET 2021


ffmpeg | branch: master | Zane van Iperen <zane at zanevaniperen.com> | Tue Mar 23 21:05:42 2021 +1000| [257d9f91fc8c6c800a9944551be809fabff43896] | committer: Zane van Iperen

avcodec/adpcm_ima_alp: reset state on flush

Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=257d9f91fc8c6c800a9944551be809fabff43896
---

 libavcodec/adpcm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index e31f68b076..f154188b5d 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_ALP:
     case AV_CODEC_ID_ADPCM_IMA_SSI:
     case AV_CODEC_ID_ADPCM_ZORK:
         for (int channel = 0; channel < avctx->channels; channel++) {



More information about the ffmpeg-cvslog mailing list