avformat/mxfdec: set index_duration from the track using the index
authorMarton Balint <cus@passwd.hu>
Sat, 17 Feb 2018 15:46:41 +0000 (16:46 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 1 Mar 2018 21:03:53 +0000 (22:03 +0100)
commit5b36379eb6eb0dfbc7e0b68a278eea2ce65f9147
treeb25cdd28a83907c5d4fe0af50de4aa10467065c8
parentc46e430c5bc790cd1b96f92a95a56b3da97f3f66
avformat/mxfdec: set index_duration from the track using the index

Also use original_duration as index_duration is in edit units.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mxfdec.c