aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-06-13 17:47:13 -0300
committerJames Almer <jamrial@gmail.com>2015-06-13 17:47:13 -0300
commit4aebaed0e17b396bd9d18acb8e58a4700c7559df (patch)
tree4b41db0a4f1561f895969136fde8a4bb214b4bd6
parent9f815bc2c294a2582cd4c2bba71803104c3d0bc5 (diff)
downloadffmpeg-4aebaed0e17b396bd9d18acb8e58a4700c7559df.tar.gz
avformat/singlejpeg: fix standalone compilation
-rw-r--r--libavformat/rawenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c
index e95cb6151d..e59f1ae95e 100644
--- a/libavformat/rawenc.c
+++ b/libavformat/rawenc.c
@@ -250,7 +250,9 @@ AVOutputFormat ff_mjpeg_muxer = {
.write_packet = ff_raw_write_packet,
.flags = AVFMT_NOTIMESTAMPS,
};
+#endif
+#if CONFIG_SINGLEJPEG_MUXER
AVOutputFormat ff_singlejpeg_muxer = {
.name = "singlejpeg",
.long_name = NULL_IF_CONFIG_SMALL("JPEG single image"),