Get rid of check for condition that is always true (run_off < avctx->width).

Originally committed as revision 16340 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 16 years ago
parent 43ba8f3545
commit e3a54b6694
  1. 2
      libavcodec/faxcompr.c

@ -171,7 +171,7 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
return -1;
}
//sync line pointers
if(runs != run_start)while(run_off <= offs && run_off < avctx->width){
if(runs != run_start)while(run_off <= offs){
run_off += *ref++;
run_off += *ref++;
}

Loading…
Cancel
Save