changeset 19452:cadacb426471

removed #if-0 code that dereferenced dvdnav_t's internal members, violating the opaque interface (current dvdnav doesn't even install dvdnav_internal.h system-wide for very good reasons)
author nicodvb
date Sat, 19 Aug 2006 19:15:23 +0000
parents 0ceeedf7f04d
children 087d4a916ea3
files stream/stream_dvdnav.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Sat Aug 19 19:11:51 2006 +0000
+++ b/stream/stream_dvdnav.c	Sat Aug 19 19:15:23 2006 +0000
@@ -245,17 +245,6 @@
     mp_msg(MSGT_OPEN,MSGL_V, "%s: NULL dvdnav_priv->dvdnav\n",__FUNCTION__);
     return NULL;
   }
-  #if 0
-  if (!dvdnav_priv->dvdnav->vm) {
-    mp_msg(MSGT_OPEN,MSGL_V, "%s: NULL dvdnav_priv->dvdnav->vm\n",__FUNCTION__);
-    return NULL;
-  }
-  if (!dvdnav_priv->dvdnav->vm->state.pgc) {
-    printf("%s: NULL dvdnav_priv->dvdnav->vm->state.pgc\n",__FUNCTION__);
-    return NULL;
-  }
-  return dvdnav_priv->dvdnav->vm->state.pgc->palette;
-  #endif
 }
 
 static void update_title_len(stream_t *stream) {