Revision a56f82ea

View differences:

libavcodec/faxcompr.c
212 212
            return -1;
213 213
        }else{//vertical mode
214 214
            run = run_off - offs + (cmode - 5);
215
                run_off -= *--ref;
215
            run_off -= *--ref;
216 216
            offs += run;
217 217
            if(offs > width || run > width){
218 218
                av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");

Also available in: Unified diff