fixed some bugs in network transport, increase speed

This commit is contained in:
2023-04-07 15:08:43 +03:00
parent e9f1c67055
commit 661713a545
12 changed files with 125 additions and 73 deletions

View File

@@ -391,7 +391,7 @@ static int changeformat(frameformat *fmt){
static int setbitdepth(int i){
frameformat fmt;
getformat(&fmt);
if(!getformat(&fmt)) return FALSE;
int o16bit = is16bit;
if(i == 0) is16bit = FALSE; // 8 bit
else is16bit = TRUE;