diff mpegvideo.c @ 3145:ede5c3c0a0eb libavcodec

kill some warnings
author mru
date Sat, 25 Feb 2006 22:41:31 +0000
parents 421579792fc2
children 4186eb8d29a1
line wrap: on
line diff
--- a/mpegvideo.c	Sat Feb 25 22:15:24 2006 +0000
+++ b/mpegvideo.c	Sat Feb 25 22:41:31 2006 +0000
@@ -2230,7 +2230,8 @@
         input[i].linesize[2]= c->width/2;
 
         if(!i || s->input_picture[i-1])
-            img_resample(resample, &input[i], &pre_input);
+            img_resample(resample, (AVPicture*)&input[i],
+                         (AVPicture*)&pre_input);
     }
 
     for(j=0; j<s->max_b_frames+1; j++){