qtdemux: avoid overflow wraparound in timestamp when adding durations
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 29 Aug 2011 13:13:56 +0000 (15:13 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 29 Aug 2011 13:16:16 +0000 (15:16 +0200)
commit5ea19b0696123c1050946d317535736dc584c66a
treef0c87370973cd5486baf84a7c23872f3bd8199a2
parent3968dc7688021cdf1d1c52e6d7838668bdccb2e1
qtdemux: avoid overflow wraparound in timestamp when adding durations

Do some type juggling to avoid overflow, while still allowing for 'negative'
durations (which would need a wraparound effect).
gst/isomp4/qtdemux.c