[FFmpeg-devel] [PATCH] avcodec/pnmdec: Mark PHM decoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Jul 9 22:14:04 EEST 2022
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/pnmdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c
index bb2ce53496..f012ed288b 100644
--- a/libavcodec/pnmdec.c
+++ b/libavcodec/pnmdec.c
@@ -513,5 +513,6 @@ const FFCodec ff_phm_decoder = {
.priv_data_size = sizeof(PNMContext),
.init = phm_dec_init,
FF_CODEC_DECODE_CB(pnm_decode_frame),
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
--
2.34.1
More information about the ffmpeg-devel
mailing list