summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-27 17:36:59 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-01 15:25:48 +0100
commit2c6f532e0a29527347418d2d8c4ccfe57a6ace0e (patch)
treeed807102e82b1db61780ce0e1480dcf799d4e4b2 /libavutil
parent15baa0c1acd21be99408e6782ae28d868b847b13 (diff)
Mark some pointers as const
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/spherical.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/spherical.c b/libavutil/spherical.c
index 4be55f36cf..4a7f3e49ca 100644
--- a/libavutil/spherical.c
+++ b/libavutil/spherical.c
@@ -51,7 +51,7 @@ void av_spherical_tile_bounds(const AVSphericalMapping *map,
*bottom = orig_height - height - *top;
}
-static const char *spherical_projection_names[] = {
+static const char *const spherical_projection_names[] = {
[AV_SPHERICAL_EQUIRECTANGULAR] = "equirectangular",
[AV_SPHERICAL_CUBEMAP] = "cubemap",
[AV_SPHERICAL_EQUIRECTANGULAR_TILE] = "tiled equirectangular",