[FFmpeg-devel] [PATCH] fftools/cmdutils: Don't cast const away
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Fri Feb 9 13:18:51 EET 2024
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
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);
--
2.34.1
More information about the ffmpeg-devel
mailing list