avformat/mxfdec: always use a stream which matches the first index table when seeking
authorMarton Balint <cus@passwd.hu>
Sat, 17 Feb 2018 18:31:33 +0000 (19:31 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 1 Mar 2018 21:03:53 +0000 (22:03 +0100)
commitf50741147ccac999a8a3e8a15244cbe525537622
tree0a9136863d25ad22c4221294caf50553cdd0f15b
parente8e1c22f21eecca9269f6bb18c615acaf29d974f
avformat/mxfdec: always use a stream which matches the first index table when seeking

Obviously this is still not perfect, but better then it was. Using the first
index table and mxf->current_edit_unit is still hardcoded in many places, so
this change has hopefully the less chance of breaking anything that works
now.

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