ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Thu Nov 26 17:40:17 2020 +0100| [13f10dc15ef7044fd4ff873623f9b07d64ac8a47] | 
committer: Andreas Rheinhardt

avcodec/yuv4dec: Mark decoder as init-threadsafe

Reviewed-by: Anton Khirnov <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13f10dc15ef7044fd4ff873623f9b07d64ac8a47
---

 libavcodec/yuv4dec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index f89f62debe..3fb1dbac28 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -81,4 +81,5 @@ AVCodec ff_yuv4_decoder = {
     .init         = yuv4_decode_init,
     .decode       = yuv4_decode_frame,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to