diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libffmpeg/diff_to_ffmpeg_cvs.txt | 19 | ||||
-rw-r--r-- | src/libffmpeg/libavcodec/mjpeg.c | 7 |
2 files changed, 26 insertions, 0 deletions
diff --git a/src/libffmpeg/diff_to_ffmpeg_cvs.txt b/src/libffmpeg/diff_to_ffmpeg_cvs.txt index 3dfb43dc3..7e19e643c 100644 --- a/src/libffmpeg/diff_to_ffmpeg_cvs.txt +++ b/src/libffmpeg/diff_to_ffmpeg_cvs.txt @@ -64,6 +64,25 @@ Index: libavcodec/motion_est.c } + +#endif /* CONFIG_ENCODERS */ +Index: libavcodec/mjpeg.c +=================================================================== +diff -u -r1.38 mjpeg.c +--- libavcodec/mjpeg.c 4 Dec 2006 22:25:19 -0000 1.38 ++++ libavcodec/mjpeg.c 30 Dec 2006 22:21:34 -0000 +@@ -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 Index: libavcodec/mpeg12.c =================================================================== --- libavcodec/mpeg12.c (revision 7221) 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 |