lavfi/edgedetect: add missing minus in a comment.

This commit is contained in:
Clément Bœsch 2012-10-01 22:31:14 +02:00
parent d771b1d137
commit 2308c5bb25
1 changed files with 1 additions and 1 deletions

View File

@ -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 * 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 * <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)) = 27146
* round((sqrt(2)+1) * (1<<16)) = 158218 * round((sqrt(2)+1) * (1<<16)) = 158218
*/ */