summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psxdev/vlc.c2
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