summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorTakashi Mochizuki <mochi@da2.so-net.ne.jp>2011-05-01 12:03:20 +0900
committerAnton Khirnov <anton@khirnov.net>2011-05-10 07:12:27 +0200
commitc3e40410d4a932c6f27b0217e0ab705f03841078 (patch)
treee36fc5d486cea65f860393c43bae71e4987912b1 /ffmpeg.c
parenta88ef93b4abbea9f18c8750113dc9e99931f2f8a (diff)
Add missing CONFIG_AVFILTER check.
Fix configure --disable-avfilter issue. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index bb64f7cdc9..cadb654eb0 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)