diff 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
line wrap: on
line diff
--- a/faxcompr.c	Fri Dec 26 16:57:35 2008 +0000
+++ b/faxcompr.c	Fri Dec 26 16:59:10 2008 +0000
@@ -171,7 +171,7 @@
             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++;
         }