changeset 319:94604c5160a0 src

report when no FirstPlayPGC is present - ogle-1736
author nicodvb
date Sun, 30 Dec 2007 13:58:36 +0000
parents 5bd3a5f9bdc5
children 584f645932b0
files dvdread/ifo_print.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dvdread/ifo_print.c	Sun Dec 30 13:49:03 2007 +0000
+++ b/dvdread/ifo_print.c	Sun Dec 30 13:58:36 2007 +0000
@@ -1091,7 +1091,10 @@
     ifo_print_VMGI_MAT(ifohandle->vmgi_mat);
 
     printf("\nFirst Play PGC\n--------------\n");
+    if(ifohandle->first_play_pgc)
     ifo_print_PGC(ifohandle->first_play_pgc);
+    else
+      printf("No First Play PGC present\n");
 
     printf("\nTitle Track search pointer table\n");
     printf(  "------------------------------------------------\n");