From 795ff53f188f4eb67074422211cb3e282c5eec17 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 17 Apr 2020 00:03:37 -0300 Subject: [PATCH] avcodec/qpeg: mark the init function as thread-safe and init cleanup capable Reviewed-by: Anton Khirnov Signed-off-by: James Almer --- 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, };