diff mbox series

[FFmpeg-devel,16/20] avcodec/nuv: Mark decoder as init-threadsafe

Message ID HE1PR0301MB2154A6AD6212E1F2D25F03D58F579@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Commit cb59c8cec49a74490d927ba4f4d2fcc81bde22bd
Headers show
Series [FFmpeg-devel,01/20] avcodec/wma: Remove nonsense volatile | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt May 7, 2021, 6:46 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/nuv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c
index 3ba12fd8e6..089ce68338 100644
--- a/libavcodec/nuv.c
+++ b/libavcodec/nuv.c
@@ -372,5 +372,5 @@  const AVCodec ff_nuv_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_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };