]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/standard.c
Restore LibVLC/VERSION at the end of the HTTP user agent
[vlc] / modules / stream_out / standard.c
index cc226e5515604da83b1ba94a57908d0e6ee0e59c..f052ccba2127910e9175d366ad240d73529af307 100644 (file)
@@ -245,6 +245,8 @@ static int Open( vlc_object_t *p_this )
             { "avi", "avi" },
             { "ogg", "ogg" },
             { "ogm", "ogg" },
+            { "ogv", "ogg" },
+            { "flac","raw" },
             { "mp3", "raw" },
             { "mp4", "mp4" },
             { "mov", "mov" },
@@ -265,10 +267,9 @@ static int Open( vlc_object_t *p_this )
             { "",    "" }
         };
         const char *psz_ext = strrchr( psz_url, '.' ) + 1;
-        int  i;
 
         msg_Dbg( p_this, "extension is %s", psz_ext );
-        for( i = 0; exttomux[i].ext[0]; i++ )
+        for( int i = 0; exttomux[i].ext[0]; i++ )
         {
             if( !strcasecmp( psz_ext, exttomux[i].ext ) )
             {