Fix configure --disable-avfilter issue.
---
ffmpeg.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 050fa98..ed0dc34 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2795,9 +2795,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)
--
1.7.4.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel