mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-01-18 13:59:34 +08:00
Update misc.cpp
Fix a bug which resets all parameters to default value when writing a fec parameter to the fifo file.
This commit is contained in:
parent
3b1b5d32d6
commit
89e7e294f2
4
misc.cpp
4
misc.cpp
@ -292,9 +292,7 @@ int handle_command(char *s)
|
||||
mylog(log_warn,"failed to parse [%s]\n",tmp_str);
|
||||
return -1;
|
||||
}
|
||||
int version=g_fec_par.version;
|
||||
g_fec_par.clone(tmp_par);
|
||||
g_fec_par.version=version;
|
||||
g_fec_par.clone_fec(tmp_par);
|
||||
g_fec_par.version++;
|
||||
strcpy(rs_par_str,tmp_str);
|
||||
//g_fec_data_num=a;
|
||||
|
Loading…
x
Reference in New Issue
Block a user