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, };