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>
release/5.1
Andreas Rheinhardt 3 years ago
parent 805d7414dc
commit 799e128562
  1. 2
      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,
};

Loading…
Cancel
Save