From 7b9f0b80593d9b33e08106947bd432303848ce12 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 26 Nov 2020 19:18:04 +0100 Subject: [PATCH] avcodec/shorten: Mark decoder as init-threadsafe Reviewed-by: Anton Khirnov Signed-off-by: Andreas Rheinhardt --- libavcodec/shorten.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 517942c1b0..70d164a0b3 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -815,4 +815,5 @@ AVCodec ff_shorten_decoder = { .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_U8P, AV_SAMPLE_FMT_NONE }, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };