From c3e40410d4a932c6f27b0217e0ab705f03841078 Mon Sep 17 00:00:00 2001 From: Takashi Mochizuki Date: Sun, 1 May 2011 12:03:20 +0900 Subject: [PATCH] Add missing CONFIG_AVFILTER check. Fix configure --disable-avfilter issue. Signed-off-by: Anton Khirnov --- ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index bb64f7cdc..cadb654eb 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) -- 2.11.0