lavu/mathematics: split closing bracket out of ifdefery

pull/244/merge
Clément Bœsch 8 years ago
parent 1e1513d01a
commit ea8efc9594
  1. 3
      libavutil/mathematics.c

@ -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)

Loading…
Cancel
Save