typefindfunctions: fix off-by-one in webvtt typefinder

We're also checking the byte after the WEBVTT magic.
This commit is contained in:
Tim-Philipp Müller 2017-11-02 09:05:47 +00:00
parent ee55f94ac0
commit 6c749f75a5

View file

@ -4790,7 +4790,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;