diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-26 17:32:11 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-26 17:32:11 +0000 |
commit | 2a522579aa5753cf87a6a336150161e42c25a0aa (patch) | |
tree | d1cde5f2d426ad212d14e671e3defae466d9e667 /libavcodec/faxcompr.c | |
parent | f78a67917734d69309fe4f463a8682ec041ccd66 (diff) | |
download | ffmpeg-2a522579aa5753cf87a6a336150161e42c25a0aa.tar.gz |
Minor simplification.
Originally committed as revision 16343 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/faxcompr.c')
-rw-r--r-- | libavcodec/faxcompr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c index e008d438e6..052ed25f43 100644 --- a/libavcodec/faxcompr.c +++ b/libavcodec/faxcompr.c @@ -172,8 +172,8 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb, 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; |