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
This commit is contained in:
parent
d006a075b8
commit
1cd58e9154
@ -33,7 +33,7 @@ AVSphericalMapping *av_spherical_alloc(size_t *size)
|
|||||||
return spherical;
|
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 width, size_t height,
|
||||||
size_t *left, size_t *top,
|
size_t *left, size_t *top,
|
||||||
size_t *right, size_t *bottom)
|
size_t *right, size_t *bottom)
|
||||||
|
@ -202,7 +202,7 @@ AVSphericalMapping *av_spherical_alloc(size_t *size);
|
|||||||
* @param right Pixels from the right edge.
|
* @param right Pixels from the right edge.
|
||||||
* @param bottom Pixels from the bottom 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 width, size_t height,
|
||||||
size_t *left, size_t *top,
|
size_t *left, size_t *top,
|
||||||
size_t *right, size_t *bottom);
|
size_t *right, size_t *bottom);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user