This is likely more precise and conveys the intent better.
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
---
libavfilter/af_volume.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index 16e994c..3ba356a 100644
--- a/libavfilter/af_volume.c
+++ b/libavfilter/af_volume.c
@@ -279,7 +279,7 @@ static int set_volume(AVFilterContext *ctx)
av_log(ctx, AV_LOG_VERBOSE, "volume_i:%d/255 ", vol->volume_i);
}
av_log(ctx, AV_LOG_VERBOSE, "volume:%f volume_dB:%f\n",
- vol->volume, 20.0*log(vol->volume)/M_LN10);
+ vol->volume, 20.0*log10(vol->volume));
volume_init(vol);
return 0;
--
2.6.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel