summaryrefslogtreecommitdiff
path: root/libavfilter/vf_zscale.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2022-07-07 23:14:09 +0200
committerMarton Balint <cus@passwd.hu>2022-07-10 22:35:20 +0200
commit68fdc9de8462f9661f86d1b2e13c06695247e480 (patch)
tree725193b8a34173076d6def3daef6025fb93cf4cd /libavfilter/vf_zscale.c
parentbe983d23548d8bec4c8c6f86e9bc7abceb213806 (diff)
downloadffmpeg-68fdc9de8462f9661f86d1b2e13c06695247e480.tar.gz
avfilter/vf_zscale: remove some unneeded initializations
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/vf_zscale.c')
-rw-r--r--libavfilter/vf_zscale.c6
1 files changed, 0 insertions, 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);