mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
typefindfunctions: fix off-by-one in webvtt typefinder
We're also checking the byte after the WEBVTT magic.
This commit is contained in:
parent
ee55f94ac0
commit
6c749f75a5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue