ensure sequence header is ok when parse avc/aac data