avformat/mxfdec: fix essence_offset calculation
authorMarton Balint <cus@passwd.hu>
Sat, 17 Feb 2018 10:47:57 +0000 (11:47 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 1 Mar 2018 21:03:53 +0000 (22:03 +0100)
commite9b0e42e773d4a1c9575c75e95688faca7ce4e06
tree3da8e235dd416e0d6cc8a3862b3e359f284cbb3a
parentd54a04b69b8d31f3286738cfc68f25a24dfda4af
avformat/mxfdec: fix essence_offset calculation

The reference point for a KAG is the first byte of the key of a Partition Pack.

Fixes ticket #2817.
Fixes ticket #5317.

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