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

index 5eb511a..7076745 100644 (file)
@@ -170,5 +170,6 @@ AVCodec ff_cscd_decoder = {
     .init           = decode_init,
     .close          = decode_end,
     .decode         = decode_frame,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
     .capabilities   = AV_CODEC_CAP_DR1,
 };