From 8c2e86ca2856d4058cbad3c935bd02362f67db4d Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 9 Feb 2024 12:06:09 +0100 Subject: [PATCH] fftools/cmdutils: Don't cast const away Reviewed-by: Anton Khirnov Signed-off-by: Andreas Rheinhardt --- 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);