[FFmpeg-cvslog] lavc/lscrdec: drop unapplicable private capabilities

Anton Khirnov git at videolan.org
Wed Feb 24 18:18:05 EET 2021


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Feb 14 16:12:39 2021 +0100| [087359ad8599da3972e142b4f2b56a858cdef70b] | committer: Anton Khirnov

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=087359ad8599da3972e142b4f2b56a858cdef70b
---

 libavcodec/lscrdec.c | 3 +--
 1 file changed, 1 insertion(+), 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,
 };



More information about the ffmpeg-cvslog mailing list