aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cavsdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-08 12:31:48 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-11 19:38:41 +0100
commit799e128562fd56f622189d45a1743d256a97ea02 (patch)
treef4914aa1db6e5f02652822202e800824f2f1f15b /libavcodec/cavsdec.c
parent805d7414dcc0a0d4dc8796d8cb40e0c47e6bea36 (diff)
downloadffmpeg-799e128562fd56f622189d45a1743d256a97ea02.tar.gz
avcodec/cavsdec: Mark decoder as init-threadsafe
It does not initialize any static data in its .init. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cavsdec.c')
-rw-r--r--libavcodec/cavsdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c
index 54e1877bbd..da9aa94deb 100644
--- a/libavcodec/cavsdec.c
+++ b/libavcodec/cavsdec.c
@@ -1319,5 +1319,5 @@ const AVCodec ff_cavs_decoder = {
.decode = cavs_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
.flush = cavs_flush,
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};