[FFmpeg-cvslog] doc/utils: fix atan2 parameter order
Haixia Shi
git at videolan.org
Tue Jan 16 02:08:26 EET 2024
ffmpeg | branch: master | Haixia Shi <hshi at meta.com> | Sun Jan 14 19:40:48 2024 +0000| [e664f4465ab0f76adcf2452e85741ee468f507b7] | committer: Stefano Sabatini
doc/utils: fix atan2 parameter order
The C library function double atan2(double y, double x) takes y as the first
parameter and x as the second parameter.
Signed-off-by: Haixia Shi <hshi at meta.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e664f4465ab0f76adcf2452e85741ee468f507b7
---
doc/utils.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/utils.texi b/doc/utils.texi
index 0c4f146f4f..76e704fc3c 100644
--- a/doc/utils.texi
+++ b/doc/utils.texi
@@ -815,7 +815,7 @@ Compute arcsine of @var{x}.
@item atan(x)
Compute arctangent of @var{x}.
- at item atan2(x, y)
+ at item atan2(y, x)
Compute principal value of the arc tangent of @var{y}/@var{x}.
@item between(x, min, max)
More information about the ffmpeg-cvslog
mailing list