[vlc-commits] mms: fix variable shadowing
    Rémi Denis-Courmont 
    git at videolan.org
       
    Thu Jun 29 22:35:04 CEST 2017
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 29 22:45:58 2017 +0300| [7971b19c59ee62fc33fe09935a70128543cc87c9] | committer: Rémi Denis-Courmont
mms: fix variable shadowing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7971b19c59ee62fc33fe09935a70128543cc87c9
---
 modules/access/mms/mmstu.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c
index d694fd6da1..a3a0425b69 100644
--- a/modules/access/mms/mmstu.c
+++ b/modules/access/mms/mmstu.c
@@ -490,7 +490,6 @@ static int MMSOpen( access_t  *p_access, vlc_url_t *p_url, int  i_proto )
     uint32_t     i_tool_version;
     uint32_t     i_update_player_url;
     uint32_t     i_encryption_type;
-    int          i;
     int          i_streams;
     int          i_first;
     char         *mediapath;
@@ -843,7 +842,7 @@ static int MMSOpen( access_t  *p_access, vlc_url_t *p_url, int  i_proto )
     i_first = -1;
     var_buffer_reinitwrite( &buffer, 0 );
     /* for now, select first audio and video stream */
-    for( i = 1; i < 128; i++ )
+    for( int i = 1; i < 128; i++ )
     {
 
         if( p_sys->asfh.stream[i].i_cat != ASF_CODEC_TYPE_UNKNOWN )
    
    
More information about the vlc-commits
mailing list