[FFmpeg-cvslog] r16343 - trunk/libavcodec/faxcompr.c
michael
subversion
Fri Dec 26 18:32:11 CET 2008
Author: michael
Date: Fri Dec 26 18:32:11 2008
New Revision: 16343
Log:
Minor simplification.
Modified:
trunk/libavcodec/faxcompr.c
Modified: trunk/libavcodec/faxcompr.c
==============================================================================
--- trunk/libavcodec/faxcompr.c Fri Dec 26 18:11:19 2008 (r16342)
+++ trunk/libavcodec/faxcompr.c Fri Dec 26 18:32:11 2008 (r16343)
@@ -172,8 +172,8 @@ static int decode_group3_2d_line(AVCodec
if(!cmode){//pass mode
run_off += *ref++;
run = run_off - offs;
+ offs= run_off;
run_off += *ref++;
- offs += run;
if(offs > width){
av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
return -1;
More information about the ffmpeg-cvslog
mailing list