diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-23 10:01:35 -0800 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-25 10:48:18 -0800 |
commit | 86aa2e9f768b267ef366df7baedacc0edb0c78ae (patch) | |
tree | a327a327a09916cf4329d45fbf85af9a7077e183 /libavfilter | |
parent | 0e9fe3e3c9d235a9d065688d05574d3e712d4d9f (diff) | |
download | ffmpeg-86aa2e9f768b267ef366df7baedacc0edb0c78ae.tar.gz |
lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vsrc_testsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index 1fca3e71ee..181e2a785a 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -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; |