From 6b3957354759386ce9c93f1b3154691d99cb3437 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 11 Feb 2022 16:52:16 +0100 Subject: [PATCH] avcodec/alsdec: Mark decoder as init-threadsafe It does not initialize any static data in its init function. Signed-off-by: Andreas Rheinhardt --- libavcodec/alsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 029c37e99c..b9629fc3d2 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -2177,5 +2177,5 @@ const AVCodec ff_als_decoder = { .decode = decode_frame, .flush = flush, .capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, };