diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-26 16:59:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-26 16:59:10 +0000 |
commit | e3a54b66948a4a37c8ad2c5504148802976b5c7b (patch) | |
tree | b229e515055d2d2fe12b136973c24b77fc7edb80 | |
parent | 43ba8f3545dd530d21ae08cac4489a20a777d03b (diff) | |
download | ffmpeg-e3a54b66948a4a37c8ad2c5504148802976b5c7b.tar.gz |
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
-rw-r--r-- | libavcodec/faxcompr.c | 2 |
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++; } |