diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-25 12:47:41 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-25 12:47:41 +0000 |
commit | d5fe94ec4ccc781af8cf53b862da40bb210e3c5b (patch) | |
tree | 95756d2ba87837e8809735079c07b1867300438e /command.c | |
parent | 26691d09f87c56d36eb23133ffb1facec0993fd1 (diff) | |
download | mpv-d5fe94ec4ccc781af8cf53b862da40bb210e3c5b.tar.bz2 mpv-d5fe94ec4ccc781af8cf53b862da40bb210e3c5b.tar.xz |
Fix unused variable warning when USE_DVDNAV is not defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24170 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2736,12 +2736,13 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) break; case MP_CMD_SET_MOUSE_POS:{ - int button = -1, pointer_x, pointer_y; + int pointer_x, pointer_y; double dx, dy; pointer_x = cmd->args[0].v.i; 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 && dx > 0.0 && dy > 0.0) { pointer_x = (int) (dx * (double) sh_video->disp_w); |