avcodec/dsicinvideo: decoder supports init_cleanup capability
authorPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 18:14:58 +0000 (20:14 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 18:14:58 +0000 (20:14 +0200)
libavcodec/dsicinvideo.c

index aa08041..37175d6 100644 (file)
@@ -328,5 +328,6 @@ AVCodec ff_dsicinvideo_decoder = {
     .init           = cinvideo_decode_init,
     .close          = cinvideo_decode_end,
     .decode         = cinvideo_decode_frame,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
     .capabilities   = AV_CODEC_CAP_DR1,
 };