[FFmpeg-cvslog] avformat/singlejpeg: fix standalone compilation

James Almer git at videolan.org
Sat Jun 13 22:47:40 CEST 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Jun 13 17:47:13 2015 -0300| [4aebaed0e17b396bd9d18acb8e58a4700c7559df] | committer: James Almer

avformat/singlejpeg: fix standalone compilation

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4aebaed0e17b396bd9d18acb8e58a4700c7559df
---

 libavformat/rawenc.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c
index e95cb61..e59f1ae 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"),



More information about the ffmpeg-cvslog mailing list