summaryrefslogtreecommitdiff
path: root/libavcodec/faxcompr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-26 16:59:10 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-12-26 16:59:10 +0000
commite3a54b66948a4a37c8ad2c5504148802976b5c7b (patch)
treeb229e515055d2d2fe12b136973c24b77fc7edb80 /libavcodec/faxcompr.c
parent43ba8f3545dd530d21ae08cac4489a20a777d03b (diff)
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
Diffstat (limited to 'libavcodec/faxcompr.c')
-rw-r--r--libavcodec/faxcompr.c2
1 files changed, 1 insertions, 1 deletions
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++;
}