Commit 4f86b9d4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

picture_Setup: missing const

parent 9442de70
...@@ -235,7 +235,7 @@ VLC_API int picture_Export( vlc_object_t *p_obj, block_t **pp_image, video_forma ...@@ -235,7 +235,7 @@ VLC_API int picture_Export( vlc_object_t *p_obj, block_t **pp_image, video_forma
* *
* It can be useful to get the properties of planes. * It can be useful to get the properties of planes.
*/ */
VLC_API int picture_Setup( picture_t *, video_format_t * ); VLC_API int picture_Setup( picture_t *, const video_format_t * );
/** /**
......
...@@ -128,7 +128,7 @@ static int LCM( int a, int b ) ...@@ -128,7 +128,7 @@ static int LCM( int a, int b )
return a * b / GCD( a, b ); return a * b / GCD( a, b );
} }
int picture_Setup( picture_t *p_picture, video_format_t *fmt ) int picture_Setup( picture_t *p_picture, const video_format_t *restrict fmt )
{ {
/* Store default values */ /* Store default values */
p_picture->i_planes = 0; p_picture->i_planes = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment