Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2015-08-17 05:26:16 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2015-08-19 05:22:49 +0300
commit6495c4c68713f352b164f47501d274d8da2edaf5 (patch)
tree26b86320c854fbf46c0a5c51e082b4533c204946 /libavfilter/vf_aspect.c
parentc1507db61760483e45ca9d512238181f333a2281 (diff)
lavfi: fix compilation with FF_API_OLD_FILTER_OPTS=0.
Diffstat (limited to 'libavfilter/vf_aspect.c')
-rw-r--r--libavfilter/vf_aspect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c
index 84dbee95d5..bf30824851 100644
--- a/libavfilter/vf_aspect.c
+++ b/libavfilter/vf_aspect.c
@@ -69,10 +69,10 @@ typedef struct AspectContext {
static av_cold int init(AVFilterContext *ctx)
{
+#if FF_API_OLD_FILTER_OPTS
AspectContext *s = ctx->priv;
int ret;
-#if FF_API_OLD_FILTER_OPTS
if (s->ratio_expr && s->aspect_den > 0) {
double num;
av_log(ctx, AV_LOG_WARNING,