mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Add missing CONFIG_AVFILTER check.
Fix configure --disable-avfilter issue. Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
a88ef93b4a
commit
c3e40410d4
2
ffmpeg.c
2
ffmpeg.c
@ -2803,9 +2803,11 @@ static void opt_frame_aspect_ratio(const char *arg)
|
|||||||
}
|
}
|
||||||
frame_aspect_ratio = ar;
|
frame_aspect_ratio = ar;
|
||||||
|
|
||||||
|
#if CONFIG_AVFILTER
|
||||||
x = vfilters ? strlen(vfilters) : 0;
|
x = vfilters ? strlen(vfilters) : 0;
|
||||||
vfilters = av_realloc(vfilters, x+100);
|
vfilters = av_realloc(vfilters, x+100);
|
||||||
snprintf(vfilters+x, x+100, "%csetdar=%f\n", x?',':' ', ar);
|
snprintf(vfilters+x, x+100, "%csetdar=%f\n", x?',':' ', ar);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static int opt_metadata(const char *opt, const char *arg)
|
static int opt_metadata(const char *opt, const char *arg)
|
||||||
|
Loading…
Reference in New Issue
Block a user