diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-11 20:49:17 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-13 12:36:05 +0100 |
commit | 2233ef1db9059758bcf0ac3ea5630a72d7e838c1 (patch) | |
tree | 46d0164fe7d63cd52c68115bfd62af02ee12e4b8 | |
parent | 2d29058fb208c5f201f4191a58af8c2a3cf0887c (diff) |
avcodec/exr: Mark decoder as init-threadsafe
This decoder does not initialize any static data in its init function.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/exr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 8b04fab951..fc32ef1dde 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -2351,5 +2351,6 @@ const AVCodec ff_exr_decoder = { .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_SLICE_THREADS, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, .priv_class = &exr_class, }; |