Replace 'AVPixelFormat' with 'PixelFormat' for compatibility with older libav/ffmpeg headers.