summaryrefslogtreecommitdiff
path: root/libavcodec/faxcompr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-26 18:39:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-12-26 18:39:07 +0000
commit537bf4266f01245e4b6a6179711a0af147e2416e (patch)
treeb7ac359b12c5cd53308681b6aa32e647dd79654b /libavcodec/faxcompr.c
parenteb0094b224389fd7c337e3bf354b0d9120f9e961 (diff)
downloadffmpeg-537bf4266f01245e4b6a6179711a0af147e2416e.tar.gz
Simplify vertical mode
Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/faxcompr.c')
-rw-r--r--libavcodec/faxcompr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index 424de599b5..ad99a64a58 100644
--- a/libavcodec/faxcompr.c
+++ b/libavcodec/faxcompr.c
@@ -212,9 +212,6 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
return -1;
}else{//vertical mode
run = run_off - offs + (cmode - 5);
- if(cmode >= 5)
- run_off += *ref++;
- else
run_off -= *--ref;
offs += run;
if(offs > width || run > width){