]> git.sesse.net Git - vlc/blobdiff - include/vlc_url.h
Use audio channel layout only when supported by avcodec.
[vlc] / include / vlc_url.h
index 7cedd5b8b0156cbf9211d215b7ff4cd7b0637661..dc2a021031a408e0ac5b849790189e72a62eafbb 100644 (file)
@@ -85,7 +85,6 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url,
     p  = strstr( psz_parse, ":/" );
     if( p != NULL )
     {
-        char *p2;
         for( p2 = psz_parse; p2 < p; p2++ )
         {
 #define I(i,a,b) ( (a) <= (i) && (i) <= (b) )
@@ -132,8 +131,6 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url,
     p = strchr( psz_parse, '/' );
     if( !p || psz_parse < p )
     {
-        char *p2;
-
         /* We have a host[:port] */
         url->psz_host = strdup( psz_parse );
         if( p )