diff mbox series

[FFmpeg-devel,13/45] avcodec/yuv4dec: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-13-andreas.rheinhardt@gmail.com
State Accepted
Commit 13f10dc15ef7044fd4ff873623f9b07d64ac8a47
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure
Related show

Checks

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

Commit Message

Andreas Rheinhardt Nov. 27, 2020, 1:02 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/yuv4dec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Anton Khirnov Dec. 4, 2020, 10:57 a.m. UTC | #1
Quoting Andreas Rheinhardt (2020-11-27 02:02:17)
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/yuv4dec.c | 1 +
>  1 file changed, 1 insertion(+)

Much ok
diff mbox series

Patch

diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index f89f62debe..3fb1dbac28 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -81,4 +81,5 @@  AVCodec ff_yuv4_decoder = {
     .init         = yuv4_decode_init,
     .decode       = yuv4_decode_frame,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };