mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-01-19 06:19:34 +08:00
fixed a statistic error when --disable-fec is used
This commit is contained in:
parent
5839aebbf6
commit
d2bb8f31f4
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user