[Bug 750797] dashdemux: period duration is not validated

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 12 07:07:57 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750797

--- Comment #4 from Florin Apostol <florin.apostol at oregan.net> ---
I don't have any real life samples. This is just or the sake of validation.

I tested it against the samples provided by the standard
(http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014_Electronic_inserts.zip)
and a few other samples I had and it was ok. I admit that this might be too
aggressive and in some real life cases that are malformed these checks will
fail.

The operations involved are based on integers, so there will be no rounding.
For large values of mediaPresentationDuration there might be overflow.
If there are some real life files that will suffer from overflow, wouldn't that
mean that duration will be incorrectly set to a very large value for the last
period? I don't know what will happen in that case.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list