summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 08:09:36 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 08:09:36 +0000
commita3dbab18138a9988f2a73cf8519094f8facd2e84 (patch)
tree5e67d5605a6b724172f6fd9cf1fe7640e099e852 /libvo/video_out.c
parent4ed961f7e5f4c275722a826a996981c198375b47 (diff)
downloadmpv-a3dbab18138a9988f2a73cf8519094f8facd2e84.tar.bz2
mpv-a3dbab18138a9988f2a73cf8519094f8facd2e84.tar.xz
Cropping parameter to calc_src_dst_rects is const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28626 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c2
1 files changed, 1 insertions, 1 deletions
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;