[totem-pl-parser] Fix parsing of multi-line RTSPtext files



commit 458d240f55ca971b4e23db7ce2ad626808bb1a4b
Author: Simon Pecher <simon pecher googlemail com>
Date:   Fri Dec 4 13:24:51 2009 +0000

    Fix parsing of multi-line RTSPtext files
    
    https://bugzilla.gnome.org/show_bug.cgi?id=602127

 plparse/totem-pl-parser-qt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plparse/totem-pl-parser-qt.c b/plparse/totem-pl-parser-qt.c
index 4c22501..416cb12 100644
--- a/plparse/totem-pl-parser-qt.c
+++ b/plparse/totem-pl-parser-qt.c
@@ -92,7 +92,7 @@ totem_pl_parser_add_quicktime_rtsptext (TotemPlParser *parser,
 		char **line;
 		g_free (rtspuri);
 
-		for (line = lines; line && *line[0] == '\0'; line++);
+		for (line = lines + 1; line && *line[0] == '\0'; line++);
 		if (line == NULL)
 			return TOTEM_PL_PARSER_RESULT_ERROR;
 		rtspuri = g_strdup (*line);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]