summaryrefslogtreecommitdiff
path: root/ext/ttml
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ttml')
-rw-r--r--ext/ttml/ttmlparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ttml/ttmlparse.c b/ext/ttml/ttmlparse.c
index 25895463a..4914910f7 100644
--- a/ext/ttml/ttmlparse.c
+++ b/ext/ttml/ttmlparse.c
@@ -1952,7 +1952,7 @@ ttml_parse (const gchar * input, GstClockTime begin, GstClockTime duration,
}
GST_CAT_LOG (ttmlparse_debug, "Input:\n%s", input);
- end_tt = g_strrstr (input, TTML_END_TAG);
+ end_tt = g_strstr_len (input, strlen (input), TTML_END_TAG);
if (!end_tt) {
GST_CAT_DEBUG (ttmlparse_debug, "Need more data");