diff options
author | Takashi Mochizuki <mochi@da2.so-net.ne.jp> | 2011-05-01 12:03:20 +0900 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-10 07:12:27 +0200 |
commit | c3e40410d4a932c6f27b0217e0ab705f03841078 (patch) | |
tree | e36fc5d486cea65f860393c43bae71e4987912b1 /ffmpeg.c | |
parent | a88ef93b4abbea9f18c8750113dc9e99931f2f8a (diff) | |
download | ffmpeg-c3e40410d4a932c6f27b0217e0ab705f03841078.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |