comparison faxcompr.c @ 8482:ff23c1a249b2 libavcodec

Get rid of check for condition that is always true (run_off < avctx->width).
author michael
date Fri, 26 Dec 2008 16:59:10 +0000
parents f456c3aebe1c
children c8113e1e91c0
comparison
equal deleted inserted replaced
8481:f456c3aebe1c 8482:ff23c1a249b2
169 if(cmode == -1){ 169 if(cmode == -1){
170 av_log(avctx, AV_LOG_ERROR, "Incorrect mode VLC\n"); 170 av_log(avctx, AV_LOG_ERROR, "Incorrect mode VLC\n");
171 return -1; 171 return -1;
172 } 172 }
173 //sync line pointers 173 //sync line pointers
174 if(runs != run_start)while(run_off <= offs && run_off < avctx->width){ 174 if(runs != run_start)while(run_off <= offs){
175 run_off += *ref++; 175 run_off += *ref++;
176 run_off += *ref++; 176 run_off += *ref++;
177 } 177 }
178 if(!cmode){//pass mode 178 if(!cmode){//pass mode
179 run_off += *ref++; 179 run_off += *ref++;