patch ffmpeg_vid_codecs.c, support ffmpeg 1.0