From adf1ab002eeb9d942445ac80e91d99c067549d99 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 27 Nov 2020 14:16:13 +0100 Subject: [PATCH] avcodec/pcm-dvd: Mark decoder as init-threadsafe Reviewed-by: Paul B Mahol Signed-off-by: Andreas Rheinhardt --- libavcodec/pcm-dvd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, };