[vlc-devel] [PATCH 5/6] bluray: Cosmetics.
Hugo Beauzée-Luyssen
beauze.h at gmail.com
Thu Mar 8 16:08:34 CET 2012
---
modules/access/bluray.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index fb04ecb..426320d 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -906,12 +906,14 @@ static void blurayResetParser( demux_t *p_demux )
static void blurayUpdateTitle(demux_t *p_demux, unsigned i_title)
{
+ demux_sys_t *p_sys = p_demux->p_sys;
+
blurayResetParser(p_demux);
- if (i_title >= p_demux->p_sys->i_title) {
+ if (i_title >= p_sys->i_title) {
if (i_title == BLURAY_TITLE_FIRST_PLAY)
- i_title = p_demux->p_sys->i_first_play;
+ i_title = p_sys->i_first_play;
else if (i_title == BLURAY_TITLE_TOP_MENU)
- i_title = p_demux->p_sys->i_top_menu;
+ i_title = p_sys->i_top_menu;
else
return;
}
--
1.7.9.3
More information about the vlc-devel
mailing list