]> git.sesse.net Git - ffmpeg/commitdiff
lavc/lscrdec: drop unapplicable private capabilities
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Feb 2021 15:12:39 +0000 (16:12 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 24 Feb 2021 16:16:46 +0000 (17:16 +0100)
FF_CODEC_CAP_ALLOCATE_PROGRESS makes no sense because the decoder does
not support frame threading.
FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM makes no sense because the decoder
does not handle skip_frame.

libavcodec/lscrdec.c

index 5ad043153486d74c8d15c789164385e33a8d873d..d5388c22ac37e23b4fef83577fdfc47f606e49d1 100644 (file)
@@ -274,6 +274,5 @@ AVCodec ff_lscr_decoder = {
     .decode         = decode_frame_lscr,
     .flush          = lscr_decode_flush,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM | FF_CODEC_CAP_INIT_THREADSAFE |
-                      FF_CODEC_CAP_ALLOCATE_PROGRESS,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };