diff mbox series

[FFmpeg-devel,145/217] avcodec/bmpenc: Mark encoder as init-threadsafe

Message ID 20201202042244.519127-11-andreas.rheinhardt@gmail.com
State Accepted
Commit 35f99ec074abedba327882621ce28854467a4147
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 Dec. 2, 2020, 4:21 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/bmpenc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c
index e829d68475..13154c706c 100644
--- a/libavcodec/bmpenc.c
+++ b/libavcodec/bmpenc.c
@@ -177,4 +177,5 @@  AVCodec ff_bmp_encoder = {
         AV_PIX_FMT_MONOBLACK,
         AV_PIX_FMT_NONE
     },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };