diff mbox series

[FFmpeg-devel,65/72] avcodec/photocd: Mark decoder as init-threadsafe

Message ID 20201127174652.2838198-20-andreas.rheinhardt@gmail.com
State Accepted
Commit 362fdc26577b653053da0a2455c0a6605c764c33
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure | expand

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, 5:46 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/photocd.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Paul B Mahol Nov. 27, 2020, 5:53 p.m. UTC | #1
LGTM

On Fri, Nov 27, 2020 at 6:51 PM Andreas Rheinhardt <
andreas.rheinhardt@gmail.com> wrote:

> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/photocd.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/photocd.c b/libavcodec/photocd.c
> index aa1b1059e9..408ddeaac8 100644
> --- a/libavcodec/photocd.c
> +++ b/libavcodec/photocd.c
> @@ -469,4 +469,5 @@ AVCodec ff_photocd_decoder = {
>      .decode         = photocd_decode_frame,
>      .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
>      .long_name      = NULL_IF_CONFIG_SMALL("Kodak Photo CD"),
> +    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
>  };
> --
> 2.25.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox series

Patch

diff --git a/libavcodec/photocd.c b/libavcodec/photocd.c
index aa1b1059e9..408ddeaac8 100644
--- a/libavcodec/photocd.c
+++ b/libavcodec/photocd.c
@@ -469,4 +469,5 @@  AVCodec ff_photocd_decoder = {
     .decode         = photocd_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
     .long_name      = NULL_IF_CONFIG_SMALL("Kodak Photo CD"),
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };