From 0f37768626a5fa4bec4ee3aaf7a295dfc0a2fde0 Mon Sep 17 00:00:00 2001 From: Florin Apostol Date: Tue, 30 Jun 2015 13:20:43 +0100 Subject: [PATCH] dashdemux: corrected parsing of %u in segment templates https://bugzilla.gnome.org/show_bug.cgi?id=751716 --- ext/dash/gstmpdparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 38bb24e589..14949e1911 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -2607,7 +2607,7 @@ promote_format_to_uint64 (const gchar * format) /* After any 0 and alphanumeric values, there must be * an d, x or u. Otherwise validation would have failed */ - g_assert (p[0] == 'd' || p[0] == 'x' || p[0] != 'u'); + g_assert (p[0] == 'd' || p[0] == 'x' || p[0] == 'u'); promoted_format = g_strdup_printf ("%.*s" G_GINT64_MODIFIER "%s", (gint) (p - format),