From 422e937586e5e672297a9f4b5605ec2718779e1b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 11 Feb 2022 14:44:08 +0100 Subject: [PATCH] avcodec/rv30: Mark decoder as init-threadsafe Init-threadsafe since f697622f687c22392194d6939914c9a6a01ce69e. Signed-off-by: Andreas Rheinhardt --- 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, };