Avoid type cast issue - pass mpeg context address instead of context pointer in function args.