mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 11:42:04 +00:00
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:
parent
03d052a129
commit
2dfbc4cea7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user