[vlc-commits] record: fix variable shadowing
Rémi Denis-Courmont
git at videolan.org
Thu Jun 29 22:36:11 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 29 23:29:14 2017 +0300| [68a740a1a2a8bb65b7fee0d6ce03534edcd9e465] | committer: Rémi Denis-Courmont
record: fix variable shadowing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68a740a1a2a8bb65b7fee0d6ce03534edcd9e465
---
modules/stream_out/record.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/record.c b/modules/stream_out/record.c
index 5dd03424f8..b8d6b94359 100644
--- a/modules/stream_out/record.c
+++ b/modules/stream_out/record.c
@@ -464,9 +464,9 @@ static void OutputStart( sout_stream_t *p_stream )
}
/* */
- for( int i = 0; i < p_sys->i_id; i++ )
+ for( int j = 0; j < p_sys->i_id; j++ )
{
- sout_stream_id_sys_t *id = p_sys->id[i];
+ sout_stream_id_sys_t *id = p_sys->id[j];
if( id->id )
sout_StreamIdDel( p_sys->p_out, id->id );
More information about the vlc-commits
mailing list