]> git.sesse.net Git - vlc/commitdiff
Remove some dead code
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 11:18:14 +0000 (14:18 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 11:18:44 +0000 (14:18 +0300)
src/stream_output/stream_output.c

index 93267f7958dc68508c89c7c8bc6b2ba247c68b81..2e11974064ffc4f99024d36f1084b6dcef4fb9b5 100644 (file)
@@ -761,41 +761,6 @@ static void mrl_Clean( mrl_t *p_mrl )
  *  return a pointer on the rest
  *  XXX: psz_chain is modified
  */
-#define SKIPSPACE( p ) { while( *p && ( *p == ' ' || *p == '\t' ) ) p++; }
-#define SKIPTRAILINGSPACE( p, e ) \
-    { while( e > p && ( *(e-1) == ' ' || *(e-1) == '\t' ) ) e--; }
-
-/* go accross " " and { } */
-static char *_get_chain_end( char *str )
-{
-    char c, *p = str;
-
-    SKIPSPACE( p );
-
-    for( ;; )
-    {
-        if( !*p || *p == ',' || *p == '}' ) return p;
-
-        if( *p != '{' && *p != '"' && *p != '\'' )
-        {
-            p++;
-            continue;
-        }
-
-        if( *p == '{' ) c = '}';
-        else c = *p;
-        p++;
-
-        for( ;; )
-        {
-            if( !*p ) return p;
-
-            if( *p == c ) return ++p;
-            else if( *p == '{' && c == '}' ) p = _get_chain_end( p );
-            else p++;
-        }
-    }
-}
 
 /*
  * XXX name and p_cfg are used (-> do NOT free them)