From a3dbab18138a9988f2a73cf8519094f8facd2e84 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 17 Feb 2009 08:09:36 +0000 Subject: Cropping parameter to calc_src_dst_rects is const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28626 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/video_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/video_out.c b/libvo/video_out.c index 2089eeb63d..a444e680e4 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -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; -- cgit v1.2.3