diff mbox series

[FFmpeg-devel,128/134] avcodec/dvaudiodec: Mark decoder as init-threadsafe

Message ID 20201130005454.110441-56-andreas.rheinhardt@gmail.com
State New
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure
Related show

Checks

Context Check Description
andriy/x86 warning Failed to apply patch

Commit Message

Andreas Rheinhardt Nov. 30, 2020, 12:54 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/dvaudiodec.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/dvaudiodec.c b/libavcodec/dvaudiodec.c
index 5aa2a95553..2736d162a8 100644
--- a/libavcodec/dvaudiodec.c
+++ b/libavcodec/dvaudiodec.c
@@ -130,4 +130,5 @@  AVCodec ff_dvaudio_decoder = {
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
     .priv_data_size = sizeof(DVAudioContext),
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };