v4p: fixed buf error handling

This commit is contained in:
Maxim Devaev 2024-02-29 00:52:03 +02:00
parent 32165e97ed
commit 5b54a8dbe2

View File

@ -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;
}
}