]> git.sesse.net Git - vlc/commitdiff
Remove leading line feeds (or while spaces). Fixes "http://www.yle.fi/java/areena...
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 19 Jun 2007 20:07:10 +0000 (20:07 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 19 Jun 2007 20:07:10 +0000 (20:07 +0000)
modules/demux/playlist/asx.c

index 292025aeb066950e91245a4f281f0ad9b124f8c5..313351f41e7eac5076502497744fa7bb115cb668 100644 (file)
@@ -589,6 +589,7 @@ static int Demux( demux_t *p_demux )
                     if( ( psz_parse = strcasestr( psz_parse, "\"" ) ) )
                     {
                         psz_backup = ++psz_parse;
+                        psz_backup = SkipBlanks(psz_backup, (unsigned)-1);
                         if( ( psz_parse = strcasestr( psz_parse, "\"" ) ) )
                         {
                             char *psz_tmp;