From f48e4639aef5612d6f86018f1decadd380f656c4 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 28 Dec 2020 19:54:41 +0100 Subject: [PATCH] avcodec/wmavoice: Mark decoder as init-threadsafe It is init-threadsafe since b9c1ab89078d862e0146c9d7ed277addd770e3a3 and except on MIPS even before that due to its use of ff_thread_once() for static initialization. Signed-off-by: Andreas Rheinhardt --- libavcodec/wmavoice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index a9d50f95ca..e096b8029d 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -2007,6 +2007,6 @@ const AVCodec ff_wmavoice_decoder = { .close = wmavoice_decode_end, .decode = wmavoice_decode_packet, .capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, .flush = wmavoice_flush, };