# HG changeset patch # User michael # Date 1230309050 0 # Node ID 5f85d21a70b2e2cef47b4ddb81065c460b1219d1 # Parent 0a0d7c4f2cf32388cf6f3ff7aa296651aae3e057 cosmetic (moving pix_left update) diff -r 0a0d7c4f2cf3 -r 5f85d21a70b2 faxcompr.c --- a/faxcompr.c Fri Dec 26 16:29:01 2008 +0000 +++ b/faxcompr.c Fri Dec 26 16:30:50 2008 +0000 @@ -131,12 +131,12 @@ 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;