commit | 795ff53f188f4eb67074422211cb3e282c5eec17 | [log] [tgz] |
---|---|---|
author | James Almer <jamrial@gmail.com> | Fri Apr 17 00:03:37 2020 -0300 |
committer | James Almer <jamrial@gmail.com> | Mon Apr 20 13:46:37 2020 -0300 |
tree | c39e84256ade7d22c1bc5a5d70a5550470306053 | |
parent | 18bb1d40c1546c573efbec3709fc99a40e79076e [diff] |
avcodec/qpeg: mark the init function as thread-safe and init cleanup capable Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index 22afd9f..84304ca 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c
@@ -366,4 +366,6 @@ .decode = decode_frame, .flush = decode_flush, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | + FF_CODEC_CAP_INIT_CLEANUP, };