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:
43ba8f3
)
Get rid of check for condition that is always true (run_off < avctx->width).
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 16:59:10 +0000
(16:59 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 26 Dec 2008 16:59:10 +0000
(16:59 +0000)
Originally committed as revision 16340 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/faxcompr.c
patch
|
blob
|
history
diff --git
a/libavcodec/faxcompr.c
b/libavcodec/faxcompr.c
index 4ce615390b7210d79eaa7c8b306275215ca45be1..2801da28fb12daeb5a3e11ef2c4107b077bf7889 100644
(file)
--- a/
libavcodec/faxcompr.c
+++ b/
libavcodec/faxcompr.c
@@
-171,7
+171,7
@@
static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
return -1;
}
//sync line pointers
- if(runs != run_start)while(run_off <= offs
&& run_off < avctx->width
){
+ if(runs != run_start)while(run_off <= offs){
run_off += *ref++;
run_off += *ref++;
}