diff mpjpeg.c @ 277:a313e1080322 libavformat

disable encoders where appropriate (patch courtesy of BERO <bero -at- geocities.co.jp>)
author melanson
date Tue, 14 Oct 2003 04:15:53 +0000
parents 3d92f793fd67
children 60f897e8dd2d
line wrap: on
line diff
--- a/mpjpeg.c	Mon Oct 13 10:59:57 2003 +0000
+++ b/mpjpeg.c	Tue Oct 14 04:15:53 2003 +0000
@@ -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 @@
     av_register_output_format(&single_jpeg_format);
     return 0;
 }
+#endif //CONFIG_ENCODERS