Cropping parameter to calc_src_dst_rects is const

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28626 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-02-17 08:09:36 +00:00
parent 4ed961f7e5
commit a3dbab1813
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ static void src_dst_split_scaling(int src_size, int dst_size, int scaled_src_siz
*
* \param crop specifies the cropping border size in the left, right, top and bottom members, may be NULL
*/
void calc_src_dst_rects(int src_width, int src_height, struct vo_rect *src, struct vo_rect *dst, struct vo_rect *crop) {
void calc_src_dst_rects(int src_width, int src_height, struct vo_rect *src, struct vo_rect *dst, const struct vo_rect *crop) {
static const struct vo_rect no_crop = {0, 0, 0, 0, 0, 0};
int scaled_width = 0;
int scaled_height = 0;