mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-17 04:53:42 +00:00
v4p: fixed buf error handling
This commit is contained in:
@@ -243,7 +243,7 @@ static void _main_loop(void) {
|
|||||||
_slowdown();
|
_slowdown();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else if (buf_index == -2) {
|
} else if (buf_index != -2) { // -2 for broken frame
|
||||||
goto close;
|
goto close;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user