projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d79850
)
cosmetic (moving pix_left update)
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 16:30:50 +0000
(16:30 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 16:30:50 +0000
(16:30 +0000)
Originally committed as revision 16335 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/faxcompr.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/faxcompr.c
b/libavcodec/faxcompr.c
index
bb18abf
..
10a0730
100644
(file)
--- a/
libavcodec/faxcompr.c
+++ b/
libavcodec/faxcompr.c
@@
-131,12
+131,12
@@
static int decode_group3_1d_line(AVCodecContext *avctx, GetBitContext *gb,
t = get_vlc2(gb, ccitt_vlc[mode].table, 9, 2);
run += t;
if(t < 64){
- pix_left -= run;
*runs++ = run;
if(runs >= runend){
av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
return -1;
}
+ pix_left -= run;
if(pix_left <= 0){
if(!pix_left)
break;