[FFmpeg-cvslog] avcodec/shorten: Mark decoder as init-threadsafe
Andreas Rheinhardt
git at videolan.org
Fri Dec 4 17:40:39 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 19:18:04 2020 +0100| [7b9f0b80593d9b33e08106947bd432303848ce12] | committer: Andreas Rheinhardt
avcodec/shorten: Mark decoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> 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,
};
More information about the ffmpeg-cvslog
mailing list