[DVDnav-discuss] r1251 - trunk/libdvdnav/src/vm/vm.c

rathann subversion at mplayerhq.hu
Tue Feb 5 22:25:29 CET 2013


Author: rathann
Date: Tue Feb  5 22:25:29 2013
New Revision: 1251

Log:
Unbreak playback of DVDs with menus, broken by r1245.

Patch by Erik Auerswald \auerswal % unix-ag * uni-kl * de/.

Modified:
   trunk/libdvdnav/src/vm/vm.c

Modified: trunk/libdvdnav/src/vm/vm.c
==============================================================================
--- trunk/libdvdnav/src/vm/vm.c	Wed Dec 12 15:21:16 2012	(r1250)
+++ trunk/libdvdnav/src/vm/vm.c	Tue Feb  5 22:25:29 2013	(r1251)
@@ -1762,7 +1762,7 @@ static int set_PGCN(vm_t *vm, int pgcN) 
   pgcit_t *pgcit;
 
   pgcit = get_PGCIT(vm);
-  if (pgcit != NULL)
+  if (pgcit == NULL)
     return 0;
 
   if(pgcN < 1 || pgcN > pgcit->nr_of_pgci_srp) {


More information about the DVDnav-discuss mailing list