diff mbox series

[FFmpeg-devel,16/45] avcodec/xfacedec: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-16-andreas.rheinhardt@gmail.com
State Accepted
Commit 44a893f09cff7ef70031db842e5e575caf213e95
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/xfacedec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

Ok
diff mbox series

Patch

diff --git a/libavcodec/xfacedec.c b/libavcodec/xfacedec.c
index ab4c0823f5..763be6761a 100644
--- a/libavcodec/xfacedec.c
+++ b/libavcodec/xfacedec.c
@@ -185,4 +185,5 @@  AVCodec ff_xface_decoder = {
     .init           = xface_decode_init,
     .decode         = xface_decode_frame,
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_MONOWHITE, AV_PIX_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };