Skip to content

Commit

Permalink
picture_Setup: missing const
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Mar 11, 2014
1 parent 9442de7 commit 4f86b9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/vlc_picture.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
VLC_API int picture_Setup( picture_t *, video_format_t * );
VLC_API int picture_Setup( picture_t *, const video_format_t * );


/**
Expand Down
2 changes: 1 addition & 1 deletion src/misc/picture.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static int LCM( int a, int 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 */
p_picture->i_planes = 0;
Expand Down

0 comments on commit 4f86b9d

Please sign in to comment.