summaryrefslogtreecommitdiff
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-04-17 00:03:37 -0300
committerJames Almer <jamrial@gmail.com>2020-04-20 13:46:37 -0300
commit795ff53f188f4eb67074422211cb3e282c5eec17 (patch)
treec39e84256ade7d22c1bc5a5d70a5550470306053 /libavcodec/qpeg.c
parent18bb1d40c1546c573efbec3709fc99a40e79076e (diff)
downloadffmpeg-795ff53f188f4eb67074422211cb3e282c5eec17.tar.gz
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>
Diffstat (limited to 'libavcodec/qpeg.c')
-rw-r--r--libavcodec/qpeg.c2
1 files changed, 2 insertions, 0 deletions
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,
};