avcodec/mscc: decoders supports init_cleanup capability
authorPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 18:55:59 +0000 (20:55 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 18:55:59 +0000 (20:55 +0200)
libavcodec/mscc.c

index 14480cb..86e4e88 100644 (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,
 };