mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-19 08:16:31 +00:00
v4p: fixed buf error handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user