summaryrefslogtreecommitdiff
path: root/libavformat/mpjpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mpjpeg.c')
-rw-r--r--libavformat/mpjpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c
index db854bac5d..42efc0a1a0 100644
--- a/libavformat/mpjpeg.c
+++ b/libavformat/mpjpeg.c
@@ -22,7 +22,7 @@
#define BOUNDARY_TAG "ffserver"
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
static int mpjpeg_write_header(AVFormatContext *s)
{
uint8_t buf1[256];
@@ -70,4 +70,4 @@ int jpeg_init(void)
av_register_output_format(&mpjpeg_format);
return 0;
}
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS