reset codec width/height for h264 forcing decoder to parse extradata