projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee55f94
)
typefindfunctions: fix off-by-one in webvtt typefinder
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 2 Nov 2017 09:05:47 +0000
(09:05 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 2 Nov 2017 09:05:47 +0000
(09:05 +0000)
We're also checking the byte after the WEBVTT magic.
gst/typefind/gsttypefindfunctions.c
patch
|
blob
|
history
diff --git
a/gst/typefind/gsttypefindfunctions.c
b/gst/typefind/gsttypefindfunctions.c
index
839ee4f
..
2bbb88d
100644
(file)
--- 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;