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/lcldec.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/lcldec.c')
-rw-r--r-- | libavcodec/lcldec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index b1335e1d2f..f5040c6609 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -642,6 +642,7 @@ AVCodec ff_mszh_decoder = { .close = decode_end, .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -656,5 +657,6 @@ AVCodec ff_zlib_decoder = { .close = decode_end, .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |