From 5b36ef7f239811e8117479fdcca493b591277d4d Mon Sep 17 00:00:00 2001 From: wangyu- Date: Tue, 10 Oct 2017 05:52:59 -0500 Subject: [PATCH] type 1 bug fixed --- fec_manager.cpp | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/fec_manager.cpp b/fec_manager.cpp index f2e9a36..6fc215a 100644 --- a/fec_manager.cpp +++ b/fec_manager.cpp @@ -11,6 +11,8 @@ #include "lib/rs.h" #include "fd_manager.h" +const int encode_fast_send=1; +const int decode_fast_send=1; blob_encode_t::blob_encode_t() { clear(); @@ -473,7 +475,6 @@ int fec_decode_manager_t::input(char *s,int len) int missed_packet[max_fec_packet_num+5]; int missed_packet_counter=0; - for(int i=0;i