diff libvo/video_out.c @ 28591:7ca6dcad8cc0

Cropping parameter to calc_src_dst_rects is const
author reimar
date Tue, 17 Feb 2009 08:09:36 +0000
parents 7d42a45c225d
children 4172d83194f2
line wrap: on
line diff
--- 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;