avcodec/mscc: decoders supports init_cleanup capability

This commit is contained in:
Paul B Mahol 2018-09-08 20:55:59 +02:00
parent 0d37823c83
commit e8b27b82d0
1 changed files with 2 additions and 0 deletions

View File

@ -261,6 +261,7 @@ AVCodec ff_mscc_decoder = {
.close = decode_close,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
};
AVCodec ff_srgc_decoder = {
@ -273,4 +274,5 @@ AVCodec ff_srgc_decoder = {
.close = decode_close,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
};