summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFlorin Apostol <florin.apostol@oregan.net>2015-06-30 13:20:43 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-06-30 15:24:28 +0200
commit0f37768626a5fa4bec4ee3aaf7a295dfc0a2fde0 (patch)
tree3ff96c684beb2bb4150e9507464100599dbd9922 /ext
parente2d112639145b8a1e2a9611667d106b13d270f7e (diff)
downloadgstreamer-plugins-bad-0f37768626a5fa4bec4ee3aaf7a295dfc0a2fde0.tar.gz
dashdemux: corrected parsing of %u in segment templates
https://bugzilla.gnome.org/show_bug.cgi?id=751716
Diffstat (limited to 'ext')
-rw-r--r--ext/dash/gstmpdparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c
index 38bb24e58..14949e191 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),