aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-02-14 16:12:39 +0100
committerAnton Khirnov <anton@khirnov.net>2021-02-24 17:16:46 +0100
commit087359ad8599da3972e142b4f2b56a858cdef70b (patch)
treec1d80cc850389f26c5375e036cac5010db011aeb
parent3a5b857d4c455f20d811cad81c7251af2f82fba2 (diff)
downloadffmpeg-087359ad8599da3972e142b4f2b56a858cdef70b.tar.gz
lavc/lscrdec: drop unapplicable private capabilities
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.
-rw-r--r--libavcodec/lscrdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/lscrdec.c b/libavcodec/lscrdec.c
index 5ad0431534..d5388c22ac 100644
--- a/libavcodec/lscrdec.c
+++ b/libavcodec/lscrdec.c
@@ -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,
};