Commit 19d16b6e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DVDNAV: trivial simplification

parent ddcb92f0
...@@ -384,7 +384,6 @@ static void Close( vlc_object_t *p_this ) ...@@ -384,7 +384,6 @@ static void Close( vlc_object_t *p_this )
{ {
demux_t *p_demux = (demux_t*)p_this; demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys = p_demux->p_sys; demux_sys_t *p_sys = p_demux->p_sys;
int i;
/* Stop vout event handler */ /* Stop vout event handler */
var_DelCallback( p_sys->p_input, "intf-event", EventIntf, p_demux ); var_DelCallback( p_sys->p_input, "intf-event", EventIntf, p_demux );
...@@ -414,7 +413,7 @@ static void Close( vlc_object_t *p_this ) ...@@ -414,7 +413,7 @@ static void Close( vlc_object_t *p_this )
vlc_object_release( p_sys->p_input ); 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]; ps_track_t *tk = &p_sys->tk[i];
if( tk->b_seen ) if( tk->b_seen )
......
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