H.264 encoding and decoding changes