From: Edward Hervey Date: Thu, 12 Apr 2012 13:48:00 +0000 (+0200) Subject: flvdemux: Use unchecked variant of GstByteReader X-Git-Tag: 1.19.3~509^2~7127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb0cdfe20fe621a423c4d95a88886cb320620c7c;p=platform%2Fupstream%2Fgstreamer.git flvdemux: Use unchecked variant of GstByteReader We know there's at least 7 bytes (checked above) --- diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index a0dc938..da2b13a 100644 --- 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");