[DVDnav-discuss] r1003 - trunk/libdvdnav/examples/menus.c

nicodvb subversion at mplayerhq.hu
Sat Apr 19 11:15:58 CEST 2008


Author: nicodvb
Date: Sat Apr 19 11:15:57 2008
New Revision: 1003

Log:
removed unused variable dsi; patch by Erik Hovland - erik hovland org

Modified:
   trunk/libdvdnav/examples/menus.c

Modified: trunk/libdvdnav/examples/menus.c
==============================================================================
--- trunk/libdvdnav/examples/menus.c	(original)
+++ trunk/libdvdnav/examples/menus.c	Sat Apr 19 11:15:57 2008
@@ -215,7 +215,6 @@ int main(int argc, char **argv) {
        * engine of the player so that it knows the dimensions of the button areas. */
       {
 	pci_t *pci;
-	dsi_t *dsi;
 	
 	/* Applications with fifos should not use these functions to retrieve NAV packets,
 	 * they should implement their own NAV handling, because the packet you get from these
@@ -223,7 +222,7 @@ int main(int argc, char **argv) {
 	 * Applications with fifos should therefore pass the NAV packet through the fifo
 	 * and decoding pipeline just like any other data. */
 	pci = dvdnav_get_current_nav_pci(dvdnav);
-	dsi = dvdnav_get_current_nav_dsi(dvdnav);
+	dvdnav_get_current_nav_dsi(dvdnav);
 	
 	if(pci->hli.hl_gi.btn_ns > 0) {
 	  int button;



More information about the DVDnav-discuss mailing list