[FFmpeg-cvslog] fftools/cmdutils: Don't cast const away

Andreas Rheinhardt git at videolan.org
Fri Feb 9 13:23:38 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Feb  9 12:06:09 2024 +0100| [8c2e86ca2856d4058cbad3c935bd02362f67db4d] | committer: Andreas Rheinhardt

fftools/cmdutils: Don't cast const away

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 fftools/cmdutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index daf7673adb..5e181a0d85 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -1121,7 +1121,7 @@ double get_rotation(const int32_t *displaymatrix)
 {
     double theta = 0;
     if (displaymatrix)
-        theta = -round(av_display_rotation_get((int32_t*) displaymatrix));
+        theta = -round(av_display_rotation_get(displaymatrix));
 
     theta -= 360*floor(theta/360 + 0.9/360);
 



More information about the ffmpeg-cvslog mailing list