[FFmpeg-cvslog] lavfi/vsrc_testsrc: replace pow(10, x) by ff_exp10(x)
Ganesh Ajjanagadde
git at videolan.org
Fri Dec 25 19:50:18 CET 2015
ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Wed Dec 23 10:01:35 2015 -0800| [86aa2e9f768b267ef366df7baedacc0edb0c78ae] | committer: Ganesh Ajjanagadde
lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86aa2e9f768b267ef366df7baedacc0edb0c78ae
---
libavfilter/vsrc_testsrc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 1fca3e7..181e2a7 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;
More information about the ffmpeg-cvslog
mailing list