From 537bf4266f01245e4b6a6179711a0af147e2416e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 26 Dec 2008 18:39:07 +0000 Subject: Simplify vertical mode Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/faxcompr.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavcodec/faxcompr.c') 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){ -- cgit v1.2.3