Commit ef43959d authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

avidemux: Stop reading a ncdt sub-tag if it goes behind the surrounding tag
parent f6effca9
......@@ -3899,6 +3899,9 @@ gst_avi_demux_parse_ncdt (GstAviDemux * avi, GstBuffer * buf,
ptr += 4;
left -= 4;
if (sub_size > tsize)
GST_DEBUG_OBJECT (avi, "sub-tag %u, size %u", sub_tag, sub_size);
* for some reason the sub_tag has a +2 offset
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment