aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 21:14:41 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:08:56 +0200
commitdc5385b6e2c82e773253fbea4bef408d3d26c930 (patch)
tree74fea1dcb0e630fc8f08aea391e53e93444b8611 /libavcodec
parent30a5b66a7c1f562ef588c438db33eba76e6b9f29 (diff)
downloadffmpeg-dc5385b6e2c82e773253fbea4bef408d3d26c930.tar.gz
avcodec/gif: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-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,
};