mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
avfilter/vf_zscale: remove some unneeded initializations
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
be983d2354
commit
68fdc9de84
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user