mxf: Correctly support files from Pinnacle Thunder
authorTomas Härdin <tomas.hardin@codemill.se>
Wed, 4 Apr 2012 12:24:49 +0000 (14:24 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 14 Jan 2014 17:13:29 +0000 (18:13 +0100)
commit8b708f1c6b1baf3b97ed93226bf5dae1a9b13fb7
treea2c9aa32b6daa4de445af4e6551e50a37d8f0a85
parent0d6605c7ef43f97a88950542af09078adef33b6d
mxf: Correctly support files from Pinnacle Thunder

Such files have IndexTableSegments which when parsed cover EditUnit
ranges like this:

 [0,1)
 [249,250)
 [249,377)
 [0,249)

where each interval is

 [IndexStartPosition, IndexStartPosition + IndexDuration)

This would be reduced to a sparse index like:

 [0,1), [249,250)

instead of the full range:

 [0,249), [249,377)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mxfdec.c