Commit 88daf103 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Bluray: kill warnings

(cherry picked from commit 33998379)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c0821a3f
...@@ -777,7 +777,7 @@ static void blurayResetParser( demux_t *p_demux ) ...@@ -777,7 +777,7 @@ static void blurayResetParser( demux_t *p_demux )
} }
} }
static void blurayUpdateTitle(demux_t *p_demux, int i_title) static void blurayUpdateTitle(demux_t *p_demux, unsigned i_title)
{ {
blurayResetParser(p_demux); blurayResetParser(p_demux);
if (i_title >= p_demux->p_sys->i_title) { if (i_title >= p_demux->p_sys->i_title) {
...@@ -951,12 +951,10 @@ static int blurayControl(demux_t *p_demux, int query, va_list args) ...@@ -951,12 +951,10 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
static void blurayHandleEvent( demux_t *p_demux, const BD_EVENT *e ) static void blurayHandleEvent( demux_t *p_demux, const BD_EVENT *e )
{ {
demux_sys_t *p_sys = p_demux->p_sys;
switch (e->event) switch (e->event)
{ {
case BD_EVENT_TITLE: case BD_EVENT_TITLE:
blurayUpdateTitle( p_demux, e->param ); blurayUpdateTitle(p_demux, e->param);
break; break;
case BD_EVENT_PLAYITEM: case BD_EVENT_PLAYITEM:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment