Revision d68542f0

View differences:

libavcodec/faxcompr.c
136 136
            if(pix_left <= 0){
137 137
                if(!pix_left)
138 138
                    break;
139
                runs[-1] = 0;
139
                runs[-1] += pix_left;
140 140
                av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
141 141
                return -1;
142 142
            }

Also available in: Unified diff