mirror of
https://github.com/videolan/vlc.git
synced 2024-11-28 12:26:11 +08:00
Ambiguity between std::log(double) and std::log(float)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
This commit is contained in:
parent
f7ef9010f8
commit
b725557374
@ -426,7 +426,7 @@ void SpeedControlWidget::updateControls( float rate )
|
||||
return;
|
||||
}
|
||||
|
||||
double value = 17 * log( rate ) / log( 2 );
|
||||
double value = 17 * log( rate ) / log( 2. );
|
||||
int sliderValue = (int) ( ( value > 0 ) ? value + .5 : value - .5 );
|
||||
|
||||
if( sliderValue < speedSlider->minimum() )
|
||||
|
Loading…
Reference in New Issue
Block a user