summaryrefslogtreecommitdiff
path: root/libavcodec/fraps.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/fraps.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/fraps.c')
-rw-r--r--libavcodec/fraps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index 5ca6affa4a..ed8cb180de 100644
--- a/libavcodec/fraps.c
+++ b/libavcodec/fraps.c
@@ -350,4 +350,5 @@ AVCodec ff_fraps_decoder = {
.close = decode_end,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};