[MPlayer-cvslog] r24868 - trunk/libvo/vo_directx.c

zuxy subversion at mplayerhq.hu
Sat Oct 27 15:00:58 CEST 2007


Author: zuxy
Date: Sat Oct 27 15:00:58 2007
New Revision: 24868

Log:
Remove unused variables.


Modified:
   trunk/libvo/vo_directx.c

Modified: trunk/libvo/vo_directx.c
==============================================================================
--- trunk/libvo/vo_directx.c	(original)
+++ trunk/libvo/vo_directx.c	Sat Oct 27 15:00:58 2007
@@ -417,7 +417,6 @@ static BOOL WINAPI EnumCallbackEx(GUID F
 static uint32_t Directx_InitDirectDraw()
 {
 	HRESULT    (WINAPI *OurDirectDrawCreateEx)(GUID *,LPVOID *, REFIID,IUnknown FAR *);
- 	LPDIRECTDRAW lpDDraw;
 	DDSURFACEDESC2 ddsd;
 	LPDIRECTDRAWENUMERATEEX OurDirectDrawEnumerateEx;
 	HINSTANCE user32dll=LoadLibrary("user32.dll");
@@ -1122,7 +1121,7 @@ static int draw_slice(uint8_t *src[], in
 {
 	uint8_t *s;
     uint8_t *d;
-    uint32_t i=0, uvstride=dstride/2;
+    uint32_t uvstride=dstride/2;
 	// copy Y
     d=image+dstride*y+x;                
     s=src[0];                           
@@ -1237,7 +1236,6 @@ static uint32_t get_image(mp_image_t *mp
   
 static uint32_t put_image(mp_image_t *mpi){
 
-    uint32_t  i = 0;
     uint8_t   *d;
 	uint8_t   *s;
     uint32_t x = mpi->x;



More information about the MPlayer-cvslog mailing list