diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-09 12:06:09 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-09 12:22:21 +0100 |
commit | 8c2e86ca2856d4058cbad3c935bd02362f67db4d (patch) | |
tree | 8e81a6de226343fd60dd92a62320fb8dc7c212d7 | |
parent | 3371250c328857cb1b55f7a7f6e4bd0f566adcc4 (diff) | |
download | ffmpeg-8c2e86ca2856d4058cbad3c935bd02362f67db4d.tar.gz |
fftools/cmdutils: Don't cast const away
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | fftools/cmdutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |