1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
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

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