Browse Source

Reindent.

Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Stefano Sabatini 15 years ago
parent
commit
b7be04f3c0
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      libavfilter/vf_aspect.c

+ 5
- 5
libavfilter/vf_aspect.c View File

@@ -47,11 +47,11 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
return AVERROR(EINVAL);
}

gcd = av_gcd(FFABS(aspect->aspect.num), FFABS(aspect->aspect.den));
if (gcd) {
aspect->aspect.num /= gcd;
aspect->aspect.den /= gcd;
}
gcd = av_gcd(FFABS(aspect->aspect.num), FFABS(aspect->aspect.den));
if (gcd) {
aspect->aspect.num /= gcd;
aspect->aspect.den /= gcd;
}
}

if (aspect->aspect.den == 0)


Loading…
Cancel
Save