[MPlayer-cvslog] r19458 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Sat Aug 19 21:15:24 CEST 2006


Author: nicodvb
Date: Sat Aug 19 21:15:23 2006
New Revision: 19458

Modified:
   trunk/stream/stream_dvdnav.c

Log:
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)

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Sat Aug 19 21:15:23 2006
@@ -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) {



More information about the MPlayer-cvslog mailing list