bug fix when mdat found before moov - now mdat search correctly initialized