summaryrefslogtreecommitdiff
path: root/libavcodec/rv30.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-11 14:44:08 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-18 20:03:07 +0100
commit422e937586e5e672297a9f4b5605ec2718779e1b (patch)
tree62ee685705c63febe1e959aa4e2c1c356335bc2d /libavcodec/rv30.c
parent1ece38668f944d4d7f33779a21c05a0d7e358608 (diff)
downloadffmpeg-422e937586e5e672297a9f4b5605ec2718779e1b.tar.gz
avcodec/rv30: Mark decoder as init-threadsafe
Init-threadsafe since f697622f687c22392194d6939914c9a6a01ce69e. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv30.c')
-rw-r--r--libavcodec/rv30.c3
1 files changed, 2 insertions, 1 deletions
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,
};