--- softdevice.cvs/video-shm.c.orig	2006-09-03 04:34:56.000000000 -0700
+++ softdevice.cvs/video-shm.c	2006-09-03 04:41:00.000000000 -0700
@@ -285,16 +285,16 @@
 };
 
 void cShmVideoOut::YUV(sPicBuffer *buf) {
-        uint8_t *Py=buf->pixel[0]+(buf->edge_height)*buf->stride[0]
-                +buf->edge_width;
-        uint8_t *Pu=buf->pixel[1]+(buf->edge_height/2)*buf->stride[1]
-                +buf->edge_width/2;
-        uint8_t *Pv=buf->pixel[2]+(buf->edge_height/2)*buf->stride[2]
-                +buf->edge_width/2;
-        int Ystride=buf->stride[0];
-        int UVstride=buf->stride[1];
-        int Width=buf->width;
-        int Height=buf->height;
+//        uint8_t *Py=buf->pixel[0]+(buf->edge_height)*buf->stride[0]
+//                +buf->edge_width;
+//        uint8_t *Pu=buf->pixel[1]+(buf->edge_height/2)*buf->stride[1]
+//                +buf->edge_width/2;
+//        uint8_t *Pv=buf->pixel[2]+(buf->edge_height/2)*buf->stride[2]
+//                +buf->edge_width/2;
+//        int Ystride=buf->stride[0];
+//        int UVstride=buf->stride[1];
+//        int Width=buf->width;
+//        int Height=buf->height;
   
         if (!ctl->attached) {
                 setupStore->shouldSuspend=1;
@@ -354,8 +354,8 @@
                 return;
         };
       
-        int width= ctl->max_width < Width ? ctl->max_width : Width;
-        int height= ctl->max_height < Height ? ctl->max_height : Height;    
+//        int width= ctl->max_width < Width ? ctl->max_width : Width;
+//        int height= ctl->max_height < Height ? ctl->max_height : Height;    
         
         ctl->width=fwidth;
         ctl->height=fheight;
--- softdevice.cvs/video-xv.c.orig	2006-09-03 04:35:18.000000000 -0700
+++ softdevice.cvs/video-xv.c	2006-09-03 04:36:34.000000000 -0700
@@ -1814,10 +1814,10 @@
                 +buf->edge_width/2;
   uint8_t *Pv=buf->pixel[2]+(buf->edge_height/2)*buf->stride[2]
                 +buf->edge_width/2;
-  int Ystride=buf->stride[0];
-  int UVstride=buf->stride[1];
-  int Width=buf->width;
-  int Height=buf->height;
+//  int Ystride=buf->stride[0];
+//  int UVstride=buf->stride[1];
+//  int Width=buf->width;
+//  int Height=buf->height;
 
   if ( Py && Pu && Pv ) {
 #if VDRVERSNUM >= 10307
