Commit 0f0f5188 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_v360: remove w/h changing for flat output

Fixes crashes with bigger h/v fov.
parent f705dc9a
......@@ -2265,7 +2265,7 @@ static int config_output(AVFilterLink *outlink)
case FLAT:
out_transform = flat_to_xyz;
err = prepare_flat_out(ctx);
w = roundf(wf * s->flat_range[0] / s->flat_range[1] / 2.f);
w = roundf(wf);
h = roundf(hf);
break;
case DUAL_FISHEYE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment