diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-11-02 09:05:47 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-11-02 09:05:47 +0000 |
commit | 6c749f75a58238349a6c74f7f4a01a987f62dcd3 (patch) | |
tree | dcb2f0bcd9dc7359ca99300d21891e507b4f5200 /gst/typefind | |
parent | ee55f94ac0400ccced1aec5fa3a9a5217f0ee3dd (diff) | |
download | gstreamer-plugins-base-6c749f75a58238349a6c74f7f4a01a987f62dcd3.tar.gz |
typefindfunctions: fix off-by-one in webvtt typefinder
We're also checking the byte after the WEBVTT magic.
Diffstat (limited to 'gst/typefind')
-rw-r--r-- | gst/typefind/gsttypefindfunctions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 839ee4f4c..2bbb88daf 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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; |