On Tue, 10 Jan 2017 18:24:27 +0000
Derek Buitenhuis <derek.buitenh...@gmail.com> wrote:

> Signed-off-by: Derek Buitenhuis <derek.buitenh...@gmail.com>
> ---
> It looks like it already is threadsafe, amazingly? I don't
> see any table inits, somehow.
> ---
>  libavcodec/hevc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
> index 7c563a3..607a8da 100644
> --- a/libavcodec/hevc.c
> +++ b/libavcodec/hevc.c
> @@ -3416,5 +3416,6 @@ AVCodec ff_hevc_decoder = {
>      .init_thread_copy      = hevc_init_thread_copy,
>      .capabilities          = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
>                               AV_CODEC_CAP_SLICE_THREADS | 
> AV_CODEC_CAP_FRAME_THREADS,
> +    .caps_internal         = FF_CODEC_CAP_INIT_THREADSAFE,
>      .profiles              = NULL_IF_CONFIG_SMALL(ff_hevc_profiles),
>  };

Probably OK.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to