OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f78a679
)
Minor simplification.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 17:32:11 +0000
(17:32 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 17:32:11 +0000
(17:32 +0000)
Originally committed as revision 16343 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/faxcompr.c
patch
|
blob
|
history
diff --git
a/libavcodec/faxcompr.c
b/libavcodec/faxcompr.c
index
e008d43
..
052ed25
100644
(file)
--- 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;