[vlc-commits] Bluray: kill warnings
Jean-Baptiste Kempf
git at videolan.org
Thu Mar 8 13:27:18 CET 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 8 12:36:31 2012 +0100| [88daf1033606304102e5ba23d7eb62c3c1309dc1] | committer: Jean-Baptiste Kempf
Bluray: kill warnings
(cherry picked from commit 339983794cf5faca77706e2ae7a4f765d2e1cff8)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=88daf1033606304102e5ba23d7eb62c3c1309dc1
---
modules/access/bluray.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 76b0d36..274753c 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -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);
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)
static void blurayHandleEvent( demux_t *p_demux, const BD_EVENT *e )
{
- demux_sys_t *p_sys = p_demux->p_sys;
-
switch (e->event)
{
case BD_EVENT_TITLE:
- blurayUpdateTitle( p_demux, e->param );
+ blurayUpdateTitle(p_demux, e->param);
break;
case BD_EVENT_PLAYITEM:
break;
More information about the vlc-commits
mailing list