[FFmpeg-cvslog] lavfi/edgedetect: add missing minus in a comment.

Clément Bœsch git at videolan.org
Mon Oct 1 22:25:29 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Oct  1 22:31:14 2012 +0200| [2308c5bb250c39ea8ab3df1fe41346d6dc5a3dc4] | committer: Clément Bœsch

lavfi/edgedetect: add missing minus in a comment.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2308c5bb250c39ea8ab3df1fe41346d6dc5a3dc4
---

 libavfilter/vf_edgedetect.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c
index 5902c51..60112cb 100644
--- a/libavfilter/vf_edgedetect.c
+++ b/libavfilter/vf_edgedetect.c
@@ -142,7 +142,7 @@ static int get_rounded_direction(int gx, int gy)
      * Gy/Gx is the tangent of the angle (theta), so Gy/Gx is compared against
      * <ref-angle>, or more simply Gy against <ref-angle>*Gx
      *
-     * Gx and Gy bounds = [1020;1020], using 16-bit arithmetic:
+     * Gx and Gy bounds = [-1020;1020], using 16-bit arithmetic:
      *   round((sqrt(2)-1) * (1<<16)) =  27146
      *   round((sqrt(2)+1) * (1<<16)) = 158218
      */



More information about the ffmpeg-cvslog mailing list