[vlc-commits] vcdx: remove unused value
Rémi Denis-Courmont
git at videolan.org
Fri Sep 4 19:57:49 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Sep 4 20:57:21 2015 +0300| [3d83596eb002f0110750873cb6055438e8ddcf8a] | committer: Rémi Denis-Courmont
vcdx: remove unused value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d83596eb002f0110750873cb6055438e8ddcf8a
---
modules/access/vcdx/access.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/modules/access/vcdx/access.c b/modules/access/vcdx/access.c
index 186c327..fce3d77 100644
--- a/modules/access/vcdx/access.c
+++ b/modules/access/vcdx/access.c
@@ -1091,7 +1091,6 @@ static int VCDControl( access_t *p_access, int i_query, va_list args )
if( t->i_seekpoint > 0 )
{
track_t i_track = p_vcdplayer->i_cur_title + 1;
- lsn_t lsn;
/* FIXME! For now we are assuming titles are only tracks and
that track == title+1 and we the play item is entries (not
@@ -1102,18 +1101,15 @@ static int VCDControl( access_t *p_access, int i_query, va_list args )
{
p_vcdplayer->play_item.num = i;
p_vcdplayer->play_item.type = VCDINFO_ITEM_TYPE_ENTRY;
- lsn = vcdinfo_get_entry_lsn(p_vcdplayer->vcd, i);
} else if ( i < p_vcdplayer->i_entries + p_vcdplayer->i_lids )
{
p_vcdplayer->play_item.num = i = i - p_vcdplayer->i_entries;
p_vcdplayer->play_item.type = VCDINFO_ITEM_TYPE_LID;
- lsn = 0;
} else
{
p_vcdplayer->play_item.num = i
= i - p_vcdplayer->i_entries - p_vcdplayer->i_lids;
p_vcdplayer->play_item.type = VCDINFO_ITEM_TYPE_SEGMENT;
- lsn = vcdinfo_get_seg_lsn(p_vcdplayer->vcd, i);
}
VCDSetOrigin(p_access,vcdinfo_get_entry_lsn(p_vcdplayer->vcd,i),
More information about the vlc-commits
mailing list