mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-18 02:55:46 +00:00
v4p: fixed buf error handling
This commit is contained in:
parent
32165e97ed
commit
5b54a8dbe2
@ -243,7 +243,7 @@ static void _main_loop(void) {
|
||||
_slowdown();
|
||||
continue;
|
||||
}
|
||||
} else if (buf_index == -2) {
|
||||
} else if (buf_index != -2) { // -2 for broken frame
|
||||
goto close;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user