avcodec/libdav1d: remove init cleanup internal codec cap
authorJames Almer <jamrial@gmail.com>
Thu, 29 Nov 2018 01:40:23 +0000 (22:40 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 29 Nov 2018 02:04:03 +0000 (23:04 -0300)
It's no longer needed now that the AVFifoBuffer was removed.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/libdav1d.c

index d927f11..cfa0144 100644 (file)
@@ -245,8 +245,7 @@ AVCodec ff_libdav1d_decoder = {
     .flush          = libdav1d_flush,
     .receive_frame  = libdav1d_receive_frame,
     .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
-    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP |
-                      FF_CODEC_CAP_SETS_PKT_DTS,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_SETS_PKT_DTS,
     .priv_class     = &libdav1d_class,
     .wrapper_name   = "libdav1d",
 };