diff --git a/src/v4p/main.c b/src/v4p/main.c index e3ff868..5a3f7ef 100644 --- a/src/v4p/main.c +++ b/src/v4p/main.c @@ -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; } }