[MPlayer-cvslog] r28626 - trunk/libvo/video_out.c
reimar
subversion at mplayerhq.hu
Tue Feb 17 09:09:36 CET 2009
Author: reimar
Date: Tue Feb 17 09:09:36 2009
New Revision: 28626
Log:
Cropping parameter to calc_src_dst_rects is const
Modified:
trunk/libvo/video_out.c
Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c Tue Feb 17 09:05:14 2009 (r28625)
+++ trunk/libvo/video_out.c Tue Feb 17 09:09:36 2009 (r28626)
@@ -388,7 +388,7 @@ static void src_dst_split_scaling(int sr
*
* \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;
More information about the MPlayer-cvslog
mailing list