Commit 19f3a6f1 authored by michael's avatar michael

Minor simplification.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16343 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent debc76a6
......@@ -172,8 +172,8 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
if(!cmode){//pass mode
run_off += *ref++;
run = run_off - offs;
offs= run_off;
run_off += *ref++;
offs += run;
if(offs > width){
av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment