--- ffmpeg2theora-0.20/ffmpeg2theora.c.device 2007-12-02 17:35:17 +0300 +++ ffmpeg2theora-0.20/ffmpeg2theora.c 2007-12-18 15:45:51 +0300 @@ -1229,7 +1229,9 @@ int main (int argc, char **argv){ #ifdef VIDEO4LINUX_ENABLED case V4L_FLAG: formatParams = malloc(sizeof(AVFormatParameters)); +#if LIBAVFORMAT_VERSION_INT < (52<<16) formatParams->device = optarg; +#endif flag = -1; break; #endif