Add missing CONFIG_AVFILTER check.

Fix configure --disable-avfilter issue.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
pull/2/head
Takashi Mochizuki 14 years ago committed by Anton Khirnov
parent a88ef93b4a
commit c3e40410d4
  1. 2
      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)

Loading…
Cancel
Save