diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-23 03:10:36 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-31 11:46:20 +0100 |
commit | 902e16d18356025506e6a084dcfb3c0eacf634da (patch) | |
tree | 92f6f024c97c93abdc9c7e5a710934fb8b7752bf /libavcodec/eatqi.c | |
parent | 6e8fcd9c5624c1a89e49803de9e10562ace61b6a (diff) |
avcodec/mpeg12: Make initializing VLCs thread-safe
This automatically makes the eamad, eatqi, ipu and mdec decoders
init-threadsafe; in addition to the actual mpeg[12]video decoders,
of course.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/eatqi.c')
-rw-r--r-- | libavcodec/eatqi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c index 96536b1a08..456bd3c563 100644 --- a/libavcodec/eatqi.c +++ b/libavcodec/eatqi.c @@ -189,4 +189,5 @@ AVCodec ff_eatqi_decoder = { .close = tqi_decode_end, .decode = tqi_decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; |