avcodec/v308enc: Mark encoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-30 16:22:30 +01:00 committed by Andreas Rheinhardt
parent 22593180fe
commit 71d47100b4

View File

@ -76,4 +76,5 @@ const AVCodec ff_v308_encoder = {
.init = v308_encode_init,
.encode2 = v308_encode_frame,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P, AV_PIX_FMT_NONE },
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};