ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Thu Nov 26 17:15:51 2020 +0100| [c53f39abc33348e7d111ffaaabe638ef19cb6e92] | 
committer: Andreas Rheinhardt

avcodec/yop: 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=c53f39abc33348e7d111ffaaabe638ef19cb6e92
---

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

diff --git a/libavcodec/yop.c b/libavcodec/yop.c
index aff28ef3fc..8f8ed940ec 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -274,4 +274,5 @@ AVCodec ff_yop_decoder = {
     .init           = yop_decode_init,
     .close          = yop_decode_close,
     .decode         = yop_decode_frame,
+    .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