Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -2069,8 +2069,8 @@ static void dfisheye_to_xyz(const V360Context *s, · 2068 unmodified lines | ||
| 2069 | 2069 | const float sin_theta = sinf(theta); |
| 2070 | 2070 | const float cos_theta = cosf(theta); |
| 2071 | 2071 | |
| 2072 | − vec[0] = cos_theta * uf / lh; | |
| 2073 | − vec[1] = cos_theta * -vf / lh; | |
| 2072 | + vec[0] = cos_theta * m * -uf / lh; | |
| 2073 | + vec[1] = cos_theta * -vf / lh; | |
| 2074 | 2074 | vec[2] = sin_theta; |
| 2075 | 2075 | |
| 2076 | 2076 | normalize_vector(vec); |