[vlc-commits] DVDNAV: trivial simplification
Jean-Baptiste Kempf
git at videolan.org
Sat Apr 23 02:48:36 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Apr 23 02:48:19 2011 +0200| [92c41b6d72338792f5a3f301539542db05df7527] | committer: Jean-Baptiste Kempf
DVDNAV: trivial simplification
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92c41b6d72338792f5a3f301539542db05df7527
---
modules/access/dvdnav.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index a2b7550..e96c301 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -384,7 +384,6 @@ static void Close( vlc_object_t *p_this )
{
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys = p_demux->p_sys;
- int i;
/* Stop vout event handler */
var_DelCallback( p_sys->p_input, "intf-event", EventIntf, p_demux );
@@ -414,7 +413,7 @@ static void Close( vlc_object_t *p_this )
vlc_object_release( p_sys->p_input );
- for( i = 0; i < PS_TK_COUNT; i++ )
+ for( int i = 0; i < PS_TK_COUNT; i++ )
{
ps_track_t *tk = &p_sys->tk[i];
if( tk->b_seen )
More information about the vlc-commits
mailing list