projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd694d
)
flvdemux: Use unchecked variant of GstByteReader
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 12 Apr 2012 13:48:00 +0000
(15:48 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 12 Apr 2012 13:48:00 +0000
(15:48 +0200)
We know there's at least 7 bytes (checked above)
gst/flv/gstflvdemux.c
patch
|
blob
|
history
diff --git
a/gst/flv/gstflvdemux.c
b/gst/flv/gstflvdemux.c
index a0dc9386f26e9f1faf6a4375b47f2ace0e9baafd..da2b13a711b206154f7c0135f3d3ea4d1b9e8e7a 100644
(file)
--- a/
gst/flv/gstflvdemux.c
+++ b/
gst/flv/gstflvdemux.c
@@
-544,7
+544,7
@@
gst_flv_demux_parse_tag_script (GstFlvDemux * demux, GstBuffer * buffer)
gst_buffer_map (buffer, &map, GST_MAP_READ);
gst_byte_reader_init (&reader, map.data, map.size);
- gst_byte_reader_skip (&reader, 7);
+ gst_byte_reader_skip
_unchecked
(&reader, 7);
GST_LOG_OBJECT (demux, "parsing a script tag");