$OpenBSD: patch-import_decode_dv_c,v 1.1.1.1 2004/06/18 18:56:46 sturm Exp $
--- import/decode_dv.c.orig	2003-12-20 03:48:51.000000000 -0800
+++ import/decode_dv.c	2004-04-28 10:26:58.000000000 -0700
@@ -253,7 +253,7 @@ void decode_dv(decode_t *decode)
 	pitches[1]  = 0;
 	pitches[2]  = 0;
 	  
-	dv_decode_full_frame(dv_decoder, buf, e_dv_color_rgb, (unsigned char **) video, pitches);
+	dv_decode_full_frame(dv_decoder, buf, e_dv_color_rgb, (unsigned char **) video, (int *)pitches);
 	dv_decoder->prev_frame_decoded = 1;
 	  
 	bytes = 3 * dv_decoder->width * dv_decoder->height;
@@ -270,7 +270,7 @@ void decode_dv(decode_t *decode)
 	pitches[1]  = 0;
 	pitches[2]  = 0;
 	  
-	dv_decode_full_frame(dv_decoder, buf, e_dv_color_yuv, (unsigned char **) video, pitches);
+	dv_decode_full_frame(dv_decoder, buf, e_dv_color_yuv, (unsigned char **) video, (int *)pitches);
 	dv_decoder->prev_frame_decoded = 1;
 	  
 	bytes = 2 * dv_decoder->width * dv_decoder->height;
@@ -295,7 +295,7 @@ void decode_dv(decode_t *decode)
 	    pitches[1]  = pitches[0]/2;
 	    pitches[2]  = pitches[0]/2;
 	    
-	    dv_decode_full_frame(dv_decoder, buf, e_dv_color_yuv, (unsigned char **) video, pitches);
+	    dv_decode_full_frame(dv_decoder, buf, e_dv_color_yuv, (unsigned char **) video, (int *)pitches);
 	  
 	  } else {
 	    
@@ -303,7 +303,7 @@ void decode_dv(decode_t *decode)
 	    pitches[1]  = 0;
 	    pitches[2]  = 0;
 	    
-	    dv_decode_full_frame(dv_decoder, buf, e_dv_color_yuv, (unsigned char **) video, pitches);
+	    dv_decode_full_frame(dv_decoder, buf, e_dv_color_yuv, (unsigned char **) video, (int *)pitches);
 	    
 	    //downsample to YV12:	  
 	    yuy2toyv12(video[3], video[2], video[1], video[0], dv_decoder->width, dv_decoder->height);
