Commit ea8efc95 authored by Clément Bœsch's avatar Clément Bœsch

lavu/mathematics: split closing bracket out of ifdefery

parent 1e1513d0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment