From 0339af05a4eaa1adbf153b7fa2213eea7e531573 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 17 Nov 2020 11:22:09 +0100 Subject: [PATCH] avcodec/truemotion2: Mark decoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/truemotion2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index 0f4f345a6c..ac3294d89c 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -1022,5 +1022,5 @@ AVCodec ff_truemotion2_decoder = { .close = decode_end, .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE, };