diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-29 01:01:57 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 02:41:25 +0200 |
commit | 21b0e06981fa106964f2308935d1caa83cda7c37 (patch) | |
tree | dc3fff1b17b79525796826dfbf7efaebe99db20b | |
parent | f6cc7199a521bd49c9461caff1a4b89143927206 (diff) | |
download | ffmpeg-21b0e06981fa106964f2308935d1caa83cda7c37.tar.gz |
avcodec/magicyuvenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/magicyuvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/magicyuvenc.c b/libavcodec/magicyuvenc.c index 7edaf1b45e..a61d8555d9 100644 --- a/libavcodec/magicyuvenc.c +++ b/libavcodec/magicyuvenc.c @@ -572,5 +572,5 @@ const AVCodec ff_magicyuv_encoder = { AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUVA444P, AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE }, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, }; |