[FFmpeg-devel] [PATCH 1/3] avfilter/vf_zscale: remove some unneeded initializations

Marton Balint cus at passwd.hu
Sun Jul 10 23:46:41 EEST 2022



On Fri, 8 Jul 2022, Marton Balint wrote:

> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavfilter/vf_zscale.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
> index 44cb4b9c61..6861eef278 100644
> --- a/libavfilter/vf_zscale.c
> +++ b/libavfilter/vf_zscale.c
> @@ -149,12 +149,6 @@ static av_cold int init(AVFilterContext *ctx)
> {
>     ZScaleContext *s = ctx->priv;
>     int ret;
> -    int i;
> -    for (i = 0; i < MAX_THREADS; i++) {
> -        s->tmp[i] = NULL;
> -        s->graph[i] = NULL;
> -        s->alpha_graph[i] = NULL;
> -    }
>     zimg_image_format_default(&s->src_format, ZIMG_API_VERSION);
>     zimg_image_format_default(&s->dst_format, ZIMG_API_VERSION);
>     zimg_image_format_default(&s->src_format_tmp, ZIMG_API_VERSION);
> --

Will apply the series.

Regards,
Marton

> 2.35.3
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list