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)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19458 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-08-19 19:15:23 +00:00
parent 03d052a129
commit 2dfbc4cea7
1 changed files with 0 additions and 11 deletions

View File

@ -245,17 +245,6 @@ unsigned int * dvdnav_stream_get_palette(dvdnav_priv_t * dvdnav_priv) {
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) {