diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-30 18:37:50 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 03:57:18 +0200 |
commit | 0ef263eb43f7071116c1ef32de3224891fe05e51 (patch) | |
tree | 1a853609d7cba6c43e74cf1e9ebe26bda3f22411 /libavcodec/bintext.c | |
parent | fb8d711a5e6a3d7cb87e503bb825b7c50301a1bc (diff) | |
download | ffmpeg-0ef263eb43f7071116c1ef32de3224891fe05e51.tar.gz |
avcodec/bintext: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/bintext.c')
-rw-r--r-- | libavcodec/bintext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c index 520d68a7c0..553f020738 100644 --- a/libavcodec/bintext.c +++ b/libavcodec/bintext.c @@ -224,6 +224,7 @@ const AVCodec ff_bintext_decoder = { .init = decode_init, .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif #if CONFIG_XBIN_DECODER @@ -236,6 +237,7 @@ const AVCodec ff_xbin_decoder = { .init = decode_init, .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif #if CONFIG_IDF_DECODER @@ -248,5 +250,6 @@ const AVCodec ff_idf_decoder = { .init = decode_init, .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |