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;
|
return -1;
|
||||||
}else{//vertical mode
|
}else{//vertical mode
|
||||||
run = run_off - offs + (cmode - 5);
|
run = run_off - offs + (cmode - 5);
|
||||||
if(cmode >= 5)
|
|
||||||
run_off += *ref++;
|
|
||||||
else
|
|
||||||
run_off -= *--ref;
|
run_off -= *--ref;
|
||||||
offs += run;
|
offs += run;
|
||||||
if(offs > width || run > width){
|
if(offs > width || run > width){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user