]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/standard.c
transcode: destroy spu on transcode_spu_close
[vlc] / modules / stream_out / standard.c
index 216eb3c23c4b7e1d34660afc177394d91273adaa..f052ccba2127910e9175d366ad240d73529af307 100644 (file)
@@ -246,6 +246,7 @@ static int Open( vlc_object_t *p_this )
             { "ogg", "ogg" },
             { "ogm", "ogg" },
             { "ogv", "ogg" },
+            { "flac","raw" },
             { "mp3", "raw" },
             { "mp4", "mp4" },
             { "mov", "mov" },
@@ -266,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 ) )
             {