diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-02-18 11:41:53 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-02-18 11:41:53 +0100 |
commit | 4538d66010cedee83ea2cba4480f091c7cd02311 (patch) | |
tree | dce8ba3dcb8b48ead284030eb5eb0263bf752973 /libavfilter/vf_aspect.c | |
parent | 80715c3b237f1c7058481b247cd98092250eeb3c (diff) | |
download | ffmpeg-4538d66010cedee83ea2cba4480f091c7cd02311.tar.gz |
lavfi/aspect: set default value to 0:1, as stated in the docs
Fix regression introduced in commit 70ffda3217c58bbbfb8a7e7c58824b8ca6c56128.
Diffstat (limited to 'libavfilter/vf_aspect.c')
-rw-r--r-- | libavfilter/vf_aspect.c | 1 |
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 || |