lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 23 Dec 2015 18:01:35 +0000 (10:01 -0800)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 25 Dec 2015 18:48:18 +0000 (10:48 -0800)
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavfilter/vsrc_testsrc.c

index 1fca3e7..181e2a7 100644 (file)
@@ -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;