diff mbox series

[FFmpeg-devel,24/45] avcodec/tmv: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-24-andreas.rheinhardt@gmail.com
State Accepted
Commit 6c697aee52723dbfb8f4b284d51971063c6052b8
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/tmv.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

Brilliant
diff mbox series

Patch

diff --git a/libavcodec/tmv.c b/libavcodec/tmv.c
index b738fcb103..f8485cda59 100644
--- a/libavcodec/tmv.c
+++ b/libavcodec/tmv.c
@@ -94,4 +94,5 @@  AVCodec ff_tmv_decoder = {
     .init           = tmv_decode_init,
     .decode         = tmv_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };