changeset 28591:7ca6dcad8cc0

Cropping parameter to calc_src_dst_rects is const
author reimar
date Tue, 17 Feb 2009 08:09:36 +0000
parents d1ca19ff9b52
children d9c223f0f7ef
files libvo/video_out.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;