summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-30 19:47:00 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 04:07:53 +0200
commit2c9d398f749022ebe7a8a53bb8a51fc638d130bf (patch)
tree2bea8dfc43d59d3eeccf1107fab9a6e3fb66ee6c
parent759dcd236ff1d92559a5fe3287a8c235d0fbccf9 (diff)
avcodec/vb: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/vb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vb.c b/libavcodec/vb.c
index f5b7f89853..eac2427ce3 100644
--- a/libavcodec/vb.c
+++ b/libavcodec/vb.c
@@ -288,5 +288,5 @@ const AVCodec ff_vb_decoder = {
.close = decode_end,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};