Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 23:14:41 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 04:08:56 +0300
commitdc5385b6e2c82e773253fbea4bef408d3d26c930 (patch)
tree74fea1dcb0e630fc8f08aea391e53e93444b8611 /libavcodec/gif.c
parent30a5b66a7c1f562ef588c438db33eba76e6b9f29 (diff)
avcodec/gif: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r--libavcodec/gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index f3ee15c2ac..8f0a3d79c1 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -565,5 +565,5 @@ const AVCodec ff_gif_encoder = {
AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8, AV_PIX_FMT_NONE
},
.priv_class = &gif_class,
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};