# HG changeset patch # User reimar # Date 1234858176 0 # Node ID 7ca6dcad8cc08f6e44e2c5528743652a1e0411fe # Parent d1ca19ff9b521101f2bf19f70307e27cc9a2be64 Cropping parameter to calc_src_dst_rects is const diff -r d1ca19ff9b52 -r 7ca6dcad8cc0 libvo/video_out.c --- a/libvo/video_out.c Tue Feb 17 08:05:14 2009 +0000 +++ b/libvo/video_out.c Tue Feb 17 08:09:36 2009 +0000 @@ -388,7 +388,7 @@ * * \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;