[FFmpeg-devel] [PATCH 125/134] avcodec/eacmv: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Nov 30 02:54:45 EET 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/eacmv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c
index b239acffda..2bc60155f4 100644
--- a/libavcodec/eacmv.c
+++ b/libavcodec/eacmv.c
@@ -240,5 +240,5 @@ AVCodec ff_eacmv_decoder = {
     .close          = cmv_decode_end,
     .decode         = cmv_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list