avformat/mxfdec: use the first system item if available for calculating essence_offset
authorMarton Balint <cus@passwd.hu>
Sat, 17 Feb 2018 14:02:19 +0000 (15:02 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 1 Mar 2018 21:03:53 +0000 (22:03 +0100)
commit5c2fd59700c4050f81e902bfde914fe9684aa4ad
tree30a002c3469a8a362860a3b22ec2fa7eb56d16f6
parente9b0e42e773d4a1c9575c75e95688faca7ce4e06
avformat/mxfdec: use the first system item if available for calculating essence_offset

Also add an additional system item key.

Fixes parsing of ffmpeg-bugs/trac/ticket2817/warehouse.mxf

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