lavu/mathematics: split closing bracket out of ifdefery

This commit is contained in:
Clément Bœsch 2017-03-18 23:49:20 +01:00
parent 1e1513d01a
commit ea8efc9594

View File

@ -115,7 +115,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
if (t1 > INT64_MAX)
return INT64_MIN;
return t1;
}
#else
/* reference code doing (a*b + r) / c, requires libavutil/integer.h */
AVInteger ai;
@ -123,8 +122,8 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
ai = av_add_i(ai, av_int2i(r));
return av_i2int(av_div_i(ai, av_int2i(c)));
}
#endif
}
}
int64_t av_rescale(int64_t a, int64_t b, int64_t c)