projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb0094b
)
Simplify vertical mode
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 18:39:07 +0000
(18:39 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 18:39:07 +0000
(18:39 +0000)
Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/faxcompr.c
patch
|
blob
|
history
diff --git
a/libavcodec/faxcompr.c
b/libavcodec/faxcompr.c
index
424de59
..
ad99a64
100644
(file)
--- 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){