Commit c3e40410 authored by Takashi Mochizuki's avatar Takashi Mochizuki Committed by Anton Khirnov

Add missing CONFIG_AVFILTER check.

Fix configure --disable-avfilter issue.
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent a88ef93b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment