mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-10-14 01:35:36 +08:00
fixed a statistic error when --disable-fec is used
This commit is contained in:
6
misc.cpp
6
misc.cpp
@@ -140,8 +140,6 @@ int from_normal_to_fec(conn_info_t & conn_info,char *data,int len,int & out_n,ch
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
mylog(log_trace,"from_normal_to_fec input_len=%d,output_n=%d\n",len,out_n);
|
||||
|
||||
if(out_n>0)
|
||||
@@ -158,6 +156,10 @@ int from_normal_to_fec(conn_info_t & conn_info,char *data,int len,int & out_n,ch
|
||||
}
|
||||
|
||||
log_bare(log_trace,"\n");
|
||||
|
||||
}
|
||||
|
||||
|
||||
//for(int i=0;i<n;i++)
|
||||
//{
|
||||
//delay_send(0,dest,s_arr[i],s_len);
|
||||
|
Reference in New Issue
Block a user