[FFmpeg-cvslog] avcodec/ylc: thread safe initialization is possible with this codec

Paul B Mahol git at videolan.org
Mon Dec 26 21:44:27 EET 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec 26 20:28:40 2016 +0100| [2f347c17d64624bf38b0957a3ddffbe7eeffe82a] | committer: Paul B Mahol

avcodec/ylc: thread safe initialization is possible with this codec

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

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

diff --git a/libavcodec/ylc.c b/libavcodec/ylc.c
index 3230c56..02162a3 100644
--- a/libavcodec/ylc.c
+++ b/libavcodec/ylc.c
@@ -494,4 +494,5 @@ AVCodec ff_ylc_decoder = {
     .close          = decode_end,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list