[FFmpeg-devel] [PATCH] hevc: Mark as having threadsafe init
wm4
nfxjfg at googlemail.com
Wed Jan 11 08:51:55 EET 2017
On Tue, 10 Jan 2017 18:24:27 +0000
Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at 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.
More information about the ffmpeg-devel
mailing list