Originally committed as revision 16348 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-12-26 18:39:24 +00:00
parent 537bf4266f
commit a56f82eaf8
1 changed files with 1 additions and 1 deletions

View File

@ -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");