summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-02-18 11:41:53 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-02-18 11:41:53 +0100
commit4538d66010cedee83ea2cba4480f091c7cd02311 (patch)
treedce8ba3dcb8b48ead284030eb5eb0263bf752973 /libavfilter
parent80715c3b237f1c7058481b247cd98092250eeb3c (diff)
lavfi/aspect: set default value to 0:1, as stated in the docs
Fix regression introduced in commit 70ffda3217c58bbbfb8a7e7c58824b8ca6c56128.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_aspect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c
index 2fdf785c6d..89eaf5f189 100644
--- a/libavfilter/vf_aspect.c
+++ b/libavfilter/vf_aspect.c
@@ -35,6 +35,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
{
AspectContext *aspect = ctx->priv;
int ret;
+ aspect->ratio = (AVRational) {0, 1};
if (args) {
if ((ret = av_parse_ratio(&aspect->ratio, args, 100, 0, ctx)) < 0 ||