vlc | branch: master | Filip Roséen <fi...@atch.se> | Wed Oct 12 20:08:09 2016 +0200| [b9318e08327dc16e5045107d4e69cced0ba28604] | committer: Jean-Baptiste Kempf
access/live555: narrow scope of iteration variable Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b9318e08327dc16e5045107d4e69cced0ba28604 --- modules/access/live555.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp index 5c18a3d..0464e33 100644 --- a/modules/access/live555.cpp +++ b/modules/access/live555.cpp @@ -1474,7 +1474,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) case DEMUX_SET_TIME: if( p_sys->rtsp && (p_sys->f_npt_length > 0) ) { - int i; float time; if( (i_query == DEMUX_SET_TIME) && (p_sys->f_npt > 0) ) @@ -1515,7 +1514,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) } p_sys->i_pcr = VLC_TS_INVALID; - for( i = 0; i < p_sys->i_track; i++ ) + for( int i = 0; i < p_sys->i_track; i++ ) { p_sys->track[i]->b_rtcp_sync = false; p_sys->track[i]->i_lastpts = VLC_TS_INVALID; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits