mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 17:59:21 +00:00
fix potential fpe.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@332 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
838dc68c6e
commit
285ac6904e
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ static void volume_uninit(MSFilter *f){
|
|||
static int volume_get(MSFilter *f, void *arg){
|
||||
float *farg=(float*)arg;
|
||||
Volume *v=(Volume*)f->data;
|
||||
*farg=10*log10f(v->energy/max_e);
|
||||
*farg=10*log10f((v->energy+1)/max_e);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue