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