[SCM] libav/experimental: Minor simplification.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:34:16 UTC 2013


The following commit has been merged in the experimental branch:
commit 2a522579aa5753cf87a6a336150161e42c25a0aa
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Dec 26 17:32:11 2008 +0000

    Minor simplification.
    
    Originally committed as revision 16343 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index e008d43..052ed25 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list