diff --git a/fec_manager.cpp b/fec_manager.cpp index e6702cb..18b54d6 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;i(u32_t)fec_mtu) continue; + + u32_t new_len=(shard_len+header_overhead)*(i+fec_redundant_num); if(new_len