diff mbox series

[FFmpeg-devel,29/45] avcodec/shorten: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-29-andreas.rheinhardt@gmail.com
State Accepted
Commit 7b9f0b80593d9b33e08106947bd432303848ce12
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 27, 2020, 1:02 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/shorten.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Anton Khirnov Dec. 4, 2020, 11:54 a.m. UTC | #1
Quoting Andreas Rheinhardt (2020-11-27 02:02:33)
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/shorten.c | 1 +
>  1 file changed, 1 insertion(+)

Ok
diff mbox series

Patch

diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index 4134af74cf..c423ca73be 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -812,4 +812,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,
 };