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

James Almer git at videolan.org
Thu Jun 18 21:40:15 CEST 2015


ffmpeg | branch: release/2.7 | James Almer <jamrial at gmail.com> | Sat Jun 13 17:47:13 2015 -0300| [3b6aeb148b1da3b21a5a569f2697c7e49901d031] | committer: James Almer

avformat/singlejpeg: fix standalone compilation

(cherry picked from commit 4aebaed0e17b396bd9d18acb8e58a4700c7559df)

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

 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