Fixed calculation of ABABAB video mark