mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
3371250c32
commit
8c2e86ca28
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue