From 902e16d18356025506e6a084dcfb3c0eacf634da Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 23 Nov 2020 03:10:36 +0100 Subject: 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 Signed-off-by: Andreas Rheinhardt --- libavcodec/eatqi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/eatqi.c') 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, }; -- cgit v1.2.3