fftools/cmdutils: Don't cast const away

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-02-09 12:06:09 +01:00
parent 3371250c32
commit 8c2e86ca28
1 changed files with 1 additions and 1 deletions

View File

@ -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);