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

Panagiotis Issaris takis.issaris
Thu May 10 13:34:53 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

 mpegvideo.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQwNc9kOxLuzz4CkRAqwRAJ4s5+oMzDgmW9f0dLYD2Cqqd75EJwCePhxz
ZfquTv3cjuLXcmXY0iOa3Yo=
=bb3N
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20070510T132122-ffmpeg-mpegvideo_wmv2_dep.c
Type: text/x-csrc
Size: 1024 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070510/f5891aef/attachment.c>



More information about the ffmpeg-devel mailing list