From 764ef400159b4f640eda8b22e8c7a20d6649a391 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Tue, 14 Oct 2003 04:15:53 +0000 Subject: disable encoders where appropriate (patch courtesy of BERO ) Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpjpeg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/mpjpeg.c') diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c index ab8166b16a..434e519d50 100644 --- a/libavformat/mpjpeg.c +++ b/libavformat/mpjpeg.c @@ -22,6 +22,7 @@ #define BOUNDARY_TAG "ffserver" +#ifdef CONFIG_ENCODERS static int mpjpeg_write_header(AVFormatContext *s) { uint8_t buf1[256]; @@ -106,3 +107,4 @@ int jpeg_init(void) av_register_output_format(&single_jpeg_format); return 0; } +#endif //CONFIG_ENCODERS -- cgit v1.2.3