diff mbox series

[FFmpeg-devel,148/217] avcodec/rawenc: Mark encoder as init-threadsafe

Message ID 20201202042244.519127-14-andreas.rheinhardt@gmail.com
State Accepted
Commit a2717f0c60c2d71372bee7df14720cbd8a91c3b8
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/rawenc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index d181b74570..425aae75c4 100644
--- a/libavcodec/rawenc.c
+++ b/libavcodec/rawenc.c
@@ -92,4 +92,5 @@  AVCodec ff_rawvideo_encoder = {
     .id             = AV_CODEC_ID_RAWVIDEO,
     .init           = raw_encode_init,
     .encode2        = raw_encode,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };