summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-27 14:16:13 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 00:01:53 +0100
commitadf1ab002eeb9d942445ac80e91d99c067549d99 (patch)
treede3cc8794c6461b5eac6aeceb0e6552b2b5f36eb
parent54135a0bd2f8bfd19e203269c93aefee0ba9aef5 (diff)
avcodec/pcm-dvd: Mark decoder as init-threadsafe
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/pcm-dvd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c
index becb572953..3dda218bf4 100644
--- a/libavcodec/pcm-dvd.c
+++ b/libavcodec/pcm-dvd.c
@@ -303,5 +303,6 @@ AVCodec ff_pcm_dvd_decoder = {
AV_CODEC_CAP_DR1,
.sample_fmts = (const enum AVSampleFormat[]) {
AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_NONE
- }
+ },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};