1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/wmaprodec: add missing flush call for xma1

This commit is contained in:
Paul B Mahol 2023-01-27 15:52:31 +01:00
parent 5f0a7a9169
commit 0c7da96924

View File

@ -2110,6 +2110,7 @@ const FFCodec ff_xma1_decoder = {
.init = xma_decode_init,
.close = xma_decode_end,
FF_CODEC_DECODE_CB(xma_decode_packet),
.flush = xma_flush,
.p.capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_NONE },