[libdvdnav-devel] Do not assert on broken DVDs

Jean-Baptiste Kempf git at videolan.org
Wed Apr 9 16:00:13 CEST 2014


libdvdread | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr  9 15:58:43 2014 +0200| [da3eee4113b31723aa9867820003e6268861b3e7] | committer: Jean-Baptiste Kempf

Do not assert on broken DVDs

> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=da3eee4113b31723aa9867820003e6268861b3e7
---

 src/ifo_print.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ifo_print.c b/src/ifo_print.c
index 2a1cc8c..20d8475 100644
--- a/src/ifo_print.c
+++ b/src/ifo_print.c
@@ -150,7 +150,7 @@ static void ifo_print_video_attributes(int level, video_attr_t *attr) {
   }
 
   printf("U%x, ", attr->unknown1);
-  assert(!attr->unknown1);
+  /* assert(!attr->unknown1); */
 
   if(attr->line21_cc_1 || attr->line21_cc_2) {
     printf("NTSC CC ");



More information about the libdvdnav-devel mailing list