From 13ff485d6f927eaa2cd7e5eada7265467300de13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 2 Nov 2017 09:05:47 +0000 Subject: typefindfunctions: fix off-by-one in webvtt typefinder We're also checking the byte after the WEBVTT magic. --- gst/typefind/gsttypefindfunctions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index cf3202ada..60e8d066f 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -4696,7 +4696,7 @@ webvtt_type_find (GstTypeFind * tf, gpointer private) { const guint8 *data; - data = gst_type_find_peek (tf, 0, 9); + data = gst_type_find_peek (tf, 0, 10); if (data == NULL) return; -- cgit v1.2.1