Commit 86aa2e9f authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)

Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 0e9fe3e3
......@@ -615,7 +615,7 @@ static void test_fill_picture(AVFilterContext *ctx, AVFrame *frame)
if (seg_size >= 1 && height >= 13 * seg_size) {
int64_t p10decimals = 1;
double time = av_q2d(test->time_base) * test->nb_frame *
pow(10, test->nb_decimals);
ff_exp10(test->nb_decimals);
if (time >= INT_MAX)
return;
......
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