diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-08 12:31:48 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-11 19:38:41 +0100 |
commit | 799e128562fd56f622189d45a1743d256a97ea02 (patch) | |
tree | f4914aa1db6e5f02652822202e800824f2f1f15b /libavcodec/cavsdec.c | |
parent | 805d7414dcc0a0d4dc8796d8cb40e0c47e6bea36 (diff) | |
download | ffmpeg-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.c | 2 |
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, }; |