ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> 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,
 };

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to