avcodec/y41penc: Mark encoder as init-threadsafe

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-26 17:38:43 +01:00
parent b509692c62
commit ced33a2cde
1 changed files with 1 additions and 0 deletions

View File

@ -84,4 +84,5 @@ AVCodec ff_y41p_encoder = {
.encode2 = y41p_encode_frame,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
AV_PIX_FMT_NONE },
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};