[SCM] libav/experimental: Simplify vertical mode
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:34:17 UTC 2013
The following commit has been merged in the experimental branch:
commit 537bf4266f01245e4b6a6179711a0af147e2416e
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Fri Dec 26 18:39:07 2008 +0000
Simplify vertical mode
Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index 424de59..ad99a64 100644
--- a/libavcodec/faxcompr.c
+++ b/libavcodec/faxcompr.c
@@ -212,9 +212,6 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
return -1;
}else{//vertical mode
run = run_off - offs + (cmode - 5);
- if(cmode >= 5)
- run_off += *ref++;
- else
run_off -= *--ref;
offs += run;
if(offs > width || run > width){
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list