mirror of https://git.ffmpeg.org/ffmpeg.git
Simplify vertical mode
Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eb0094b224
commit
537bf4266f
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue