summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhdenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-06 03:37:37 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-10 22:12:02 +0200
commit8b32a6f1aa244aba3647b035899c644ba775782e (patch)
tree3aa10e7c5ba205d3d23b469cb10e1a43a17ae5d7 /libavcodec/dnxhdenc.c
parent3c1208be0201785e7e9786aecd40916f9396f8cc (diff)
avcodec/dnxhdenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index 1a59815472..ee45c64ff4 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -1360,7 +1360,6 @@ const AVCodec ff_dnxhd_encoder = {
.init = dnxhd_encode_init,
.encode2 = dnxhd_encode_picture,
.close = dnxhd_encode_end,
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_YUV422P,
AV_PIX_FMT_YUV422P10,
@@ -1371,4 +1370,5 @@ const AVCodec ff_dnxhd_encoder = {
.priv_class = &dnxhd_class,
.defaults = dnxhd_defaults,
.profiles = NULL_IF_CONFIG_SMALL(ff_dnxhd_profiles),
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};