diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-26 19:18:04 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-04 15:46:46 +0100 |
commit | 7b9f0b80593d9b33e08106947bd432303848ce12 (patch) | |
tree | 99832726d33562a08e5d413da3d13bab8698af88 | |
parent | 3c6b6f544cfa343f362fca9597d463c5e9d11e01 (diff) | |
download | ffmpeg-7b9f0b80593d9b33e08106947bd432303848ce12.tar.gz |
avcodec/shorten: Mark decoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/shorten.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, }; |