qtdemux: Ignore corrupted CTTS box
authorSeungha Yang <seungha.yang@navercorp.com>
Thu, 1 Nov 2018 11:37:12 +0000 (20:37 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 1 Nov 2018 14:03:12 +0000 (16:03 +0200)
commit5d542030dbe8cdd8f21f87a196a270cc1557f06f
tree083c11e262e3b7b6f85d3554f8347c59ed76c835
parenta03d29420bd0212ed159b1523075e8eb0ff7d61f
qtdemux: Ignore corrupted CTTS box

If ctts (CompositionOffsetBox) has larger sample_offset
(offset between PTS and DTS) than (2 * duration) of the stream,
assume the ctts box to be corrupted and ignore the box.

https://bugzilla.gnome.org/show_bug.cgi?id=797262
gst/isomp4/qtdemux.c