[FFmpeg-devel] [PATCH] Fix compilation when only MPEG-1encoder is enabled

Aurelien Jacobs aurel
Thu May 10 13:46:51 CEST 2007

On Thu, 10 May 2007 13:34:53 +0200
Panagiotis Issaris <takis.issaris at uhasselt.be> wrote:

> Hi,
> The mpegvideo.c file unconditionally refers to code in the wmv2.c file.
> As mpegvideo.c is compiled unconditionally, the attached patch removes
> these references if wmv2 encoder support is not being compiled.
> When compiling ffmpeg code configured with the following options:
> ./configure --disable-encoders --enable-encoder=mpeg1video
> Compilation was currently broken, and fixed with this patch.

I'm currently in the process of fixing this. I might do it a different
way. Note that there are much more references to mpeg4/wmv2 which needs
to be disabled.

So please don't commit this.
I should be able to fix it today.


More information about the ffmpeg-devel mailing list