[FFmpeg-cvslog] avcodec/tmv: Mark decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Fri Dec 4 17:40:27 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 19:02:28 2020 +0100| [6c697aee52723dbfb8f4b284d51971063c6052b8] | committer: Andreas Rheinhardt

avcodec/tmv: Mark decoder as init-threadsafe

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

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

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

diff --git a/libavcodec/tmv.c b/libavcodec/tmv.c
index b738fcb103..f8485cda59 100644
--- a/libavcodec/tmv.c
+++ b/libavcodec/tmv.c
@@ -94,4 +94,5 @@ AVCodec ff_tmv_decoder = {
     .init           = tmv_decode_init,
     .decode         = tmv_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list