From 9933f7b36c7e2218888d40b577ec93952015d1c3 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sat, 30 Dec 2006 22:25:04 +0000 Subject: When building encoders, mjpeg is needed too. Otherwise we get a link error about mjpeg_init being missing. CVS patchset: 8478 CVS date: 2006/12/30 22:25:04 --- src/libffmpeg/libavcodec/mjpeg.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libffmpeg/libavcodec') diff --git a/src/libffmpeg/libavcodec/mjpeg.c b/src/libffmpeg/libavcodec/mjpeg.c index 3d8383e7b..8352782c4 100644 --- a/src/libffmpeg/libavcodec/mjpeg.c +++ b/src/libffmpeg/libavcodec/mjpeg.c @@ -38,6 +38,13 @@ #include "mpegvideo.h" #include "bytestream.h" +/* if xine's MPEG encoder is enabled, enable the encoding features in + * this particular module */ +#if defined(XINE_MPEG_ENCODER) && !defined(CONFIG_ENCODERS) +#define CONFIG_ENCODERS +#endif + + /* use two quantizer tables (one for luminance and one for chrominance) */ /* not yet working */ #undef TWOMATRIXES -- cgit v1.2.3