projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
disable encoders where appropriate (patch courtesy of BERO
[ffmpeg.git]
/
libavformat
/
mpjpeg.c
diff --git
a/libavformat/mpjpeg.c
b/libavformat/mpjpeg.c
index
ab8166b
..
434e519
100644
(file)
--- 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