diff dvdnav.c @ 197:a20a5976a207 src

last_cmd_nav_lbn has to be initialized with an invalid value, so that the first test to filter double commands will always fail, but 0 is not invalid here! * use SRI_END_OF_CELL and reenable double command filter * fix return values of get_current_button() * use return value of button_auto_action()
author mroi
date Mon, 12 May 2003 19:43:11 +0000
parents 6b1bfe8f5283
children 373f27da196b
line wrap: on
line diff
--- a/dvdnav.c	Sun May 11 13:18:04 2003 +0000
+++ b/dvdnav.c	Mon May 12 19:43:11 2003 +0000
@@ -51,7 +51,7 @@
 
   memset(&this->pci,0,sizeof(this->pci));
   memset(&this->dsi,0,sizeof(this->dsi));
-  this->last_cmd_nav_lbn = 0;
+  this->last_cmd_nav_lbn = SRI_END_OF_CELL;
 
   /* Set initial values of flags */
   this->position_current.still = 0;