diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-02-07 16:36:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-02-07 23:31:25 +0100 |
commit | 91ed4e71967f19824237de4c374f038b543c7555 (patch) | |
tree | a307f1d9fa97ba1ab11663fa6ef6184f423b9fbd /libavcodec/v408dec.c | |
parent | 8efb7f5a26e7300e09ba01239328d1498238c532 (diff) | |
download | ffmpeg-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/v408dec.c')
-rw-r--r-- | libavcodec/v408dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/v408dec.c b/libavcodec/v408dec.c index acff95d6bb..196c575c09 100644 --- a/libavcodec/v408dec.c +++ b/libavcodec/v408dec.c @@ -88,6 +88,7 @@ AVCodec ff_ayuv_decoder = { .init = v408_decode_init, .decode = v408_decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif #if CONFIG_V408_DECODER @@ -99,5 +100,6 @@ AVCodec ff_v408_decoder = { .init = v408_decode_init, .decode = v408_decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |