summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/spherical.c2
-rw-r--r--libavutil/spherical.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/spherical.c b/libavutil/spherical.c
index 0ca2dd367a..f0b622128a 100644
--- a/libavutil/spherical.c
+++ b/libavutil/spherical.c
@@ -33,7 +33,7 @@ AVSphericalMapping *av_spherical_alloc(size_t *size)
return spherical;
}
-void av_spherical_tile_bounds(AVSphericalMapping *map,
+void av_spherical_tile_bounds(const AVSphericalMapping *map,
size_t width, size_t height,
size_t *left, size_t *top,
size_t *right, size_t *bottom)
diff --git a/libavutil/spherical.h b/libavutil/spherical.h
index db9bdc0be5..f4e0d60966 100644
--- a/libavutil/spherical.h
+++ b/libavutil/spherical.h
@@ -202,7 +202,7 @@ AVSphericalMapping *av_spherical_alloc(size_t *size);
* @param right Pixels from the right edge.
* @param bottom Pixels from the bottom edge.
*/
-void av_spherical_tile_bounds(AVSphericalMapping *map,
+void av_spherical_tile_bounds(const AVSphericalMapping *map,
size_t width, size_t height,
size_t *left, size_t *top,
size_t *right, size_t *bottom);