Browse Source

lavfi/aspect: set default value to 0:1, as stated in the docs

Fix regression introduced in commit 70ffda3217.
tags/n0.11
Stefano Sabatini 13 years ago
parent
commit
4538d66010
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_aspect.c

+ 1
- 0
libavfilter/vf_aspect.c View File

@@ -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 ||


Loading…
Cancel
Save