Added missing code from mp4parser.