diff --git a/fec_manager.cpp b/fec_manager.cpp index d571688..729a54a 100644 --- a/fec_manager.cpp +++ b/fec_manager.cpp @@ -172,20 +172,21 @@ int fec_encode_manager_t::input(char *s,int len/*,int &is_first_packet*/) buf[i][tmp_idx++]=(unsigned char)fec_data_num; buf[i][tmp_idx++]=(unsigned char)fec_redundant_num; buf[i][tmp_idx++]=(unsigned char)i; - output_buf[i]=buf[i]+tmp_idx; + output_buf[i]=buf[i]+tmp_idx; //////caution ,trick here. + output_len[i]=tmp_idx+blob_len; if(i",n,len); + printf("",n,len[0]); for(int i=0;i",n,len); + printf("",n,len[0]); for(int i=0;i