Fix fourcc handling