From 6780e6ca4d7121b8390ec57febb9641f1070e1f2 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 11 Jun 2010 03:29:27 +0200 Subject: Fixing decoding bug on non-terminated BS frames. --- psxdev/vlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psxdev/vlc.c b/psxdev/vlc.c index 34288c2..9001e6b 100644 --- a/psxdev/vlc.c +++ b/psxdev/vlc.c @@ -264,7 +264,7 @@ int DecDCTvlc(Uint16 *mdec_bs,Uint16 *mdec_rl) code2 |= q_code; /* AC */ - for(;;){ + while(mdec_rl