diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-10-01 22:31:14 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-10-01 22:31:14 +0200 |
commit | 2308c5bb250c39ea8ab3df1fe41346d6dc5a3dc4 (patch) | |
tree | 5351dc6c0790ffd7366db708afbef51c368144f9 /libavfilter/vf_edgedetect.c | |
parent | d771b1d137b39a67850beb2204f700697b6c4867 (diff) | |
download | ffmpeg-2308c5bb250c39ea8ab3df1fe41346d6dc5a3dc4.tar.gz |
lavfi/edgedetect: add missing minus in a comment.
Diffstat (limited to 'libavfilter/vf_edgedetect.c')
-rw-r--r-- | libavfilter/vf_edgedetect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c index 5902c51c01..60112cb11c 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 */ |