[FFmpeg-cvslog] avcodec/rv30: Mark decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Fri Feb 18 22:21:56 EET 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Feb 11 14:44:08 2022 +0100| [422e937586e5e672297a9f4b5605ec2718779e1b] | committer: Andreas Rheinhardt

avcodec/rv30: Mark decoder as init-threadsafe

Init-threadsafe since f697622f687c22392194d6939914c9a6a01ce69e.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 libavcodec/rv30.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c
index c84e09dd1a..7b9a5af9df 100644
--- a/libavcodec/rv30.c
+++ b/libavcodec/rv30.c
@@ -308,5 +308,6 @@ const AVCodec ff_rv30_decoder = {
         AV_PIX_FMT_NONE
     },
     .update_thread_context = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_update_thread_context),
-    .caps_internal         = FF_CODEC_CAP_ALLOCATE_PROGRESS,
+    .caps_internal         = FF_CODEC_CAP_INIT_THREADSAFE |
+                             FF_CODEC_CAP_ALLOCATE_PROGRESS,
 };



More information about the ffmpeg-cvslog mailing list