diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-26 21:18:04 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-04 17:46:46 +0300 |
commit | 7b9f0b80593d9b33e08106947bd432303848ce12 (patch) | |
tree | 99832726d33562a08e5d413da3d13bab8698af88 /libavcodec/shorten.c | |
parent | 3c6b6f544cfa343f362fca9597d463c5e9d11e01 (diff) |
avcodec/shorten: Mark decoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/shorten.c')
-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, }; |