From e3a54b66948a4a37c8ad2c5504148802976b5c7b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 26 Dec 2008 16:59:10 +0000 Subject: 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 --- libavcodec/faxcompr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/faxcompr.c') 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++; } -- cgit v1.2.3