[FFmpeg-cvslog] Add missing CONFIG_AVFILTER check.

Takashi Mochizuki git at videolan.org
Wed May 11 06:06:35 CEST 2011


ffmpeg | branch: master | Takashi Mochizuki <mochi at da2.so-net.ne.jp> | Sun May  1 12:03:20 2011 +0900| [c3e40410d4a932c6f27b0217e0ab705f03841078] | committer: Anton Khirnov

Add missing CONFIG_AVFILTER check.

Fix configure --disable-avfilter issue.

Signed-off-by: Anton Khirnov <anton at khirnov.net>

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

 ffmpeg.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index bb64f7c..cadb654 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2803,9 +2803,11 @@ static void opt_frame_aspect_ratio(const char *arg)
     }
     frame_aspect_ratio = ar;
 
+#if CONFIG_AVFILTER
     x = vfilters ? strlen(vfilters) : 0;
     vfilters = av_realloc(vfilters, x+100);
     snprintf(vfilters+x, x+100, "%csetdar=%f\n", x?',':' ', ar);
+#endif
 }
 
 static int opt_metadata(const char *opt, const char *arg)



More information about the ffmpeg-cvslog mailing list