Simplify vertical mode

Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-12-26 18:39:07 +00:00
parent eb0094b224
commit 537bf4266f
1 changed files with 0 additions and 3 deletions

View File

@ -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){