Fix crash in ffmpeg.c with PIX_FMT_NONE