Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -47,11 +47,11 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) |
| 47 | 47 |
return AVERROR(EINVAL); |
| 48 | 48 |
} |
| 49 | 49 |
|
| 50 |
- gcd = av_gcd(FFABS(aspect->aspect.num), FFABS(aspect->aspect.den)); |
|
| 51 |
- if (gcd) {
|
|
| 52 |
- aspect->aspect.num /= gcd; |
|
| 53 |
- aspect->aspect.den /= gcd; |
|
| 54 |
- } |
|
| 50 |
+ gcd = av_gcd(FFABS(aspect->aspect.num), FFABS(aspect->aspect.den)); |
|
| 51 |
+ if (gcd) {
|
|
| 52 |
+ aspect->aspect.num /= gcd; |
|
| 53 |
+ aspect->aspect.den /= gcd; |
|
| 54 |
+ } |
|
| 55 | 55 |
} |
| 56 | 56 |
|
| 57 | 57 |
if (aspect->aspect.den == 0) |