[MPlayer-cvslog] r24174 - trunk/command.c

diego subversion at mplayerhq.hu
Sat Aug 25 15:08:49 CEST 2007


Author: diego
Date: Sat Aug 25 15:08:49 2007
New Revision: 24174

Log:
Move button variable into the if () where it is actually used.


Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	(original)
+++ trunk/command.c	Sat Aug 25 15:08:49 2007
@@ -2742,8 +2742,8 @@ int run_command(MPContext * mpctx, mp_cm
 		pointer_y = cmd->args[1].v.i;
 		rescale_input_coordinates(pointer_x, pointer_y, &dx, &dy);
 #ifdef USE_DVDNAV
-		int button = -1;
 		if (mpctx->stream->type == STREAMTYPE_DVDNAV
+		    int button = -1;
 		    && dx > 0.0 && dy > 0.0) {
 		    pointer_x = (int) (dx * (double) sh_video->disp_w);
 		    pointer_y = (int) (dy * (double) sh_video->disp_h);



More information about the MPlayer-cvslog mailing list