mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
flvdemux: Use unchecked variant of GstByteReader
We know there's at least 7 bytes (checked above)
This commit is contained in:
parent
4bd694d2cd
commit
eb0cdfe20f
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue