[MPlayer-cvslog] r37724 - trunk/libaf/af_scaletempo.c
reimar
subversion at mplayerhq.hu
Sun Feb 14 14:34:37 CET 2016
Author: reimar
Date: Sun Feb 14 14:34:37 2016
New Revision: 37724
Log:
af_scaletempo: Use float division to calculate float value.
Modified:
trunk/libaf/af_scaletempo.c
Modified: trunk/libaf/af_scaletempo.c
==============================================================================
--- trunk/libaf/af_scaletempo.c Sun Feb 14 14:29:17 2016 (r37723)
+++ trunk/libaf/af_scaletempo.c Sun Feb 14 14:34:37 2016 (r37724)
@@ -290,7 +290,7 @@ static int control(struct af_instance_s*
switch(cmd){
case AF_CONTROL_REINIT:{
af_data_t* data = (af_data_t*)arg;
- float srate = data->rate / 1000;
+ float srate = data->rate / 1000.0f;
int nch = data->nch;
int bps;
int use_int = 0;
More information about the MPlayer-cvslog
mailing list