[FFmpeg-devel] [PATCH 17/20] avcodec/twinvqdec: Mark decoder as init-threadsafe

HouLei houlei at uniontech.com
Tue May 11 08:30:22 EEST 2021


?

在 2021/5/7 下午2:46, Andreas Rheinhardt 写道:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>   libavcodec/twinvqdec.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/twinvqdec.c b/libavcodec/twinvqdec.c
> index b972facfdd..1fbe0bc32e 100644
> --- a/libavcodec/twinvqdec.c
> +++ b/libavcodec/twinvqdec.c
> @@ -426,4 +426,5 @@ const AVCodec ff_twinvq_decoder = {
>       .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
>       .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
>                                                         AV_SAMPLE_FMT_NONE },
> +    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
>   };




More information about the ffmpeg-devel mailing list