ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Thu Nov 26 17:44:38 2020 +0100| [dbdad78b40e58342a0c816d363f44c52717dd934] | 
committer: Andreas Rheinhardt

avcodec/xan: 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=dbdad78b40e58342a0c816d363f44c52717dd934
---

 libavcodec/xan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/xan.c b/libavcodec/xan.c
index 5318aab797..6bf754f151 100644
--- a/libavcodec/xan.c
+++ b/libavcodec/xan.c
@@ -645,5 +645,5 @@ AVCodec ff_xan_wc3_decoder = {
     .close          = xan_decode_end,
     .decode         = xan_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP | 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