aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/r210dec.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2017-02-07 16:36:38 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-07 23:31:25 +0100
commit91ed4e71967f19824237de4c374f038b543c7555 (patch)
treea307f1d9fa97ba1ab11663fa6ef6184f423b9fbd /libavcodec/r210dec.c
parent8efb7f5a26e7300e09ba01239328d1498238c532 (diff)
downloadffmpeg-91ed4e71967f19824237de4c374f038b543c7555.tar.gz
avcodec: Mark some codecs with threadsafe init as such
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/r210dec.c')
-rw-r--r--libavcodec/r210dec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/r210dec.c b/libavcodec/r210dec.c
index 9c868cd11c..dbc94c76bd 100644
--- a/libavcodec/r210dec.c
+++ b/libavcodec/r210dec.c
@@ -104,6 +104,7 @@ AVCodec ff_r210_decoder = {
.init = decode_init,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
#if CONFIG_R10K_DECODER
@@ -115,6 +116,7 @@ AVCodec ff_r10k_decoder = {
.init = decode_init,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
#if CONFIG_AVRP_DECODER
@@ -126,5 +128,6 @@ AVCodec ff_avrp_decoder = {
.init = decode_init,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif