mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
parent
0e9fe3e3c9
commit
86aa2e9f76
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user