[FFmpeg-cvslog] avcodec/pcm-dvd: Mark decoder as init-threadsafe
Andreas Rheinhardt
git at videolan.org
Sun Nov 29 01:39:41 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Nov 27 14:16:13 2020 +0100| [adf1ab002eeb9d942445ac80e91d99c067549d99] | committer: Andreas Rheinhardt
avcodec/pcm-dvd: Mark decoder as init-threadsafe
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=adf1ab002eeb9d942445ac80e91d99c067549d99
---
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,
};
More information about the ffmpeg-cvslog
mailing list