diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-01-25 13:26:51 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-01-25 14:34:05 +0100 |
commit | 9990cb16d3fd1ae8b38da2f3b2563d8496d5e28a (patch) | |
tree | 7d7f3f2ca08c4f7beeef6f7c6a94894bce5accea /libavfilter | |
parent | 8d861cd850597c009b6d947a556209f4ac7469d9 (diff) | |
download | ffmpeg-9990cb16d3fd1ae8b38da2f3b2563d8496d5e28a.tar.gz |
avfilter/vf_v360: mark another hemisphere not visible for flat input format
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_v360.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c index 2fc9d222b6..6d476c6392 100644 --- a/libavfilter/vf_v360.c +++ b/libavfilter/vf_v360.c @@ -1766,7 +1766,7 @@ static int xyz_to_flat(const V360Context *s, ui = floorf(uf); vi = floorf(vf); - visible = vi >= 0 && vi < height && ui >= 0 && ui < width; + visible = vi >= 0 && vi < height && ui >= 0 && ui < width && zf >= 0.f; *du = uf - ui; *dv = vf - vi; |