[FFmpeg-cvslog] r25764 - trunk/libavfilter/vf_aspect.c
stefano
subversion
Thu Nov 18 21:37:20 CET 2010
Author: stefano
Date: Thu Nov 18 21:37:20 2010
New Revision: 25764
Log:
Fix style: if( -> if (.
Modified:
trunk/libavfilter/vf_aspect.c
Modified: trunk/libavfilter/vf_aspect.c
==============================================================================
--- trunk/libavfilter/vf_aspect.c Thu Nov 18 21:37:17 2010 (r25763)
+++ trunk/libavfilter/vf_aspect.c Thu Nov 18 21:37:20 2010 (r25764)
@@ -35,21 +35,21 @@ static av_cold int init(AVFilterContext
double ratio;
int64_t gcd;
- if(args) {
- if(sscanf(args, "%d:%d", &aspect->aspect.num, &aspect->aspect.den) < 2) {
- if(sscanf(args, "%lf", &ratio) < 1)
+ if (args) {
+ if (sscanf(args, "%d:%d", &aspect->aspect.num, &aspect->aspect.den) < 2) {
+ if (sscanf(args, "%lf", &ratio) < 1)
return -1;
aspect->aspect = av_d2q(ratio, 100);
} else {
gcd = av_gcd(FFABS(aspect->aspect.num), FFABS(aspect->aspect.den));
- if(gcd) {
+ if (gcd) {
aspect->aspect.num /= gcd;
aspect->aspect.den /= gcd;
}
}
}
- if(aspect->aspect.den == 0)
+ if (aspect->aspect.den == 0)
aspect->aspect = (AVRational) {0, 1};
return 0;
More information about the ffmpeg-cvslog
mailing list