[FFmpeg-devel] [PATCH 3/3] avcodec/qpeg: mark the init function as thread-safe
James Almer
jamrial at gmail.com
Fri Apr 17 06:10:08 EEST 2020
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavcodec/qpeg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index 22afd9fa81..cc3bfda4aa 100644
--- a/libavcodec/qpeg.c
+++ b/libavcodec/qpeg.c
@@ -366,4 +366,5 @@ AVCodec ff_qpeg_decoder = {
.decode = decode_frame,
.flush = decode_flush,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
--
2.26.0
More information about the ffmpeg-devel
mailing list