diff --git a/fec_manager.cpp b/fec_manager.cpp index e6702cb..9ac33fb 100644 --- a/fec_manager.cpp +++ b/fec_manager.cpp @@ -282,7 +282,10 @@ int fec_encode_manager_t::input(char *s,int len/*,int &is_first_packet*/) int best_data_num=fec_data_num; for(int i=1;ifec_mtu) continue; + + u32_t new_len=(shard_len+header_overhead)*(i+fec_redundant_num); if(new_len