avcodec/cook: decoder supports init_cleanup capability

This commit is contained in:
Paul B Mahol 2018-09-08 20:02:41 +02:00
parent 068412f2e8
commit aaa3f115d8

View File

@ -1282,6 +1282,7 @@ AVCodec ff_cook_decoder = {
.close = cook_decode_close,
.decode = cook_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_NONE },
};