ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Thu Nov 26 19:18:04 2020 +0100| [7b9f0b80593d9b33e08106947bd432303848ce12] | 
committer: Andreas Rheinhardt

avcodec/shorten: Mark decoder as init-threadsafe

Reviewed-by: Anton Khirnov <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b9f0b80593d9b33e08106947bd432303848ce12
---

 libavcodec/shorten.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index 517942c1b0..70d164a0b3 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -815,4 +815,5 @@ AVCodec ff_shorten_decoder = {
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P,
                                                       AV_SAMPLE_FMT_U8P,
                                                       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