[FFmpeg-cvslog] avcodec/qpeg: mark the init function as thread-safe and init cleanup capable
James Almer
git at videolan.org
Mon Apr 20 19:46:50 EEST 2020
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Apr 17 00:03:37 2020 -0300| [795ff53f188f4eb67074422211cb3e282c5eec17] | committer: James Almer
avcodec/qpeg: mark the init function as thread-safe and init cleanup capable
Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=795ff53f188f4eb67074422211cb3e282c5eec17
---
libavcodec/qpeg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index 22afd9fa81..84304cae3b 100644
--- a/libavcodec/qpeg.c
+++ b/libavcodec/qpeg.c
@@ -366,4 +366,6 @@ AVCodec ff_qpeg_decoder = {
.decode = decode_frame,
.flush = decode_flush,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
+ FF_CODEC_CAP_INIT_CLEANUP,
};
More information about the ffmpeg-cvslog
mailing list