dashdemux: corrected parsing of %u in segment templates

https://bugzilla.gnome.org/show_bug.cgi?id=751716
This commit is contained in:
Florin Apostol 2015-06-30 13:20:43 +01:00 committed by Sebastian Dröge
parent e2d1126391
commit 0f37768626

View file

@ -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),