Originally committed as revision 16348 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 16 years ago
parent 537bf4266f
commit a56f82eaf8
  1. 2
      libavcodec/faxcompr.c

@ -212,7 +212,7 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
return -1;
}else{//vertical mode
run = run_off - offs + (cmode - 5);
run_off -= *--ref;
run_off -= *--ref;
offs += run;
if(offs > width || run > width){
av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");

Loading…
Cancel
Save