mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
avfilter/vf_v360: remove w/h changing for flat output
Fixes crashes with bigger h/v fov.
This commit is contained in:
parent
f705dc9a74
commit
0f0f5188ac
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user