summaryrefslogtreecommitdiffstats
path: root/libavutil/spherical.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-03-16 21:19:48 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-03-16 22:18:12 +0100
commit1cd58e915436ea84eb861327f3897ef54058ee42 (patch)
treef04eeb58bcc846e6411bdee9ecb84a1f5674b286 /libavutil/spherical.c
parentd006a075b89ce735655639ffc89d7f4ca55f1aff (diff)
downloadffmpeg-streaming-1cd58e915436ea84eb861327f3897ef54058ee42.zip
ffmpeg-streaming-1cd58e915436ea84eb861327f3897ef54058ee42.tar.gz
lavu/spherical: Make AVSphericalMapping pointer parameter const.
Reflects the actual code and silences a gcc warning: ffprobe.c:1797:42: warning: passing argument 1 of 'av_spherical_tile_bounds' discards 'const' qualifier from pointer target type
Diffstat (limited to 'libavutil/spherical.c')
-rw-r--r--libavutil/spherical.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/spherical.c b/libavutil/spherical.c
index 0ca2dd3..f0b6221 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)
OpenPOWER on IntegriCloud