From: Michael Niedermayer Date: Fri, 26 Dec 2008 16:59:10 +0000 (+0000) Subject: Get rid of check for condition that is always true (run_off < avctx->width). X-Git-Tag: v0.5~1451 X-Git-Url: https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=e3a54b66948a4a37c8ad2c5504148802976b5c7b 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 --- diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c index 4ce615390b..2801da28fb 100644 --- a/libavcodec/faxcompr.c +++ b/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++; }