ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sat Jan 22 10:32:34 2022 +0100| [06a54a4ec73ea6eb8cec41b7af75367bafb075e0] | committer: Paul B Mahol
avfilter/vf_v360: improve xyz_to_dfisheye() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06a54a4ec73ea6eb8cec41b7af75367bafb075e0 --- libavfilter/vf_v360.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c index 9e590a228c..7f1baa4850 100644 --- a/libavfilter/vf_v360.c +++ b/libavfilter/vf_v360.c @@ -3451,7 +3451,7 @@ static int xyz_to_dfisheye(const V360Context *s, const float *vec, int width, int height, int16_t us[4][4], int16_t vs[4][4], float *du, float *dv) { - const float ew = (width - 1) * 0.5f; + const float ew = width * 0.5f; const float eh = height; const float h = hypotf(vec[0], vec[1]); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".