diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-26 17:38:43 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-04 15:46:46 +0100 |
commit | ced33a2cded3078faf68ac8ecb550063eb8c0667 (patch) | |
tree | 63325c5cd89bc85b4ed1a3eaf6b24de26ecb654d /libavcodec | |
parent | b509692c622a3e56e1a972550e042b56f0cadb70 (diff) | |
download | ffmpeg-ced33a2cded3078faf68ac8ecb550063eb8c0667.tar.gz |
avcodec/y41penc: Mark encoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/y41penc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c index d7d301fab5..4340a3fbba 100644 --- a/libavcodec/y41penc.c +++ b/libavcodec/y41penc.c @@ -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, }; |