mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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;
|
const guint8 *data;
|
||||||
|
|
||||||
data = gst_type_find_peek (tf, 0, 9);
|
data = gst_type_find_peek (tf, 0, 10);
|
||||||
|
|
||||||
if (data == NULL)
|
if (data == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue