diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-11 03:29:27 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-11 03:29:27 +0200 |
commit | 6780e6ca4d7121b8390ec57febb9641f1070e1f2 (patch) | |
tree | 3e5b1562a28b3480c52f7b81c1bd767a4bdea34c /psxdev | |
parent | 5ac24cfaaed1d6143142c7d64cdd763831265c87 (diff) |
Fixing decoding bug on non-terminated BS frames.
Diffstat (limited to 'psxdev')
-rw-r--r-- | psxdev/vlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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<rl_end){ /* Uint32 code; */ #define code code2 #define SBIT 17 |