]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/ffwavesynth: Mark decoder as init-threadsafe
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 29 Nov 2020 22:18:19 +0000 (23:18 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 4 Dec 2020 14:46:46 +0000 (15:46 +0100)
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/ffwavesynth.c

index c99bac90eaffea3093851f31d0ea46aced77051f..7e7e1f6954246d4f351aeb58920f272d10f513fe 100644 (file)
@@ -469,5 +469,5 @@ AVCodec ff_ffwavesynth_decoder = {
     .close          = wavesynth_close,
     .decode         = wavesynth_decode,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };