Commit 76aacfc2 authored by michael's avatar michael

cosmetic (moving pix_left update)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16335 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e4648b9a
......@@ -131,12 +131,12 @@ static int decode_group3_1d_line(AVCodecContext *avctx, GetBitContext *gb,
t = get_vlc2(gb, ccitt_vlc[mode].table, 9, 2);
run += t;
if(t < 64){
pix_left -= run;
*runs++ = run;
if(runs >= runend){
av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
return -1;
}
pix_left -= run;
if(pix_left <= 0){
if(!pix_left)
break;
......
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