summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2009-11-03 05:08:19 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2009-11-03 05:08:19 +0000
commit97eb8c8b6f2b9e9a1d124e972e86765a92c2b37e (patch)
tree6d1291f8590702c216fc20a4d88386869034fd60 /xdelta3/xdelta3.h
parent7f7ac45b750fe90bc0572c1a53981910d24b878a (diff)
Implement (and manually test) main_getblk_func() using FIFO instead of
LRU for non-seekable sources (always, was not previously for the decoder, which caused problems).
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r--xdelta3/xdelta3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index c2741dd..bb7736e 100644
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -1297,9 +1297,9 @@ const char* xd3_errstring (xd3_stream *stream)
1297} 1297}
1298 1298
1299 1299
1300/* 64-bit divisions are expensive, which is why we require a power-of-2 1300/* 64-bit divisions are expensive, which is why we require a
1301 * block size. To relax this restriction is relatively easy, see the history 1301 * power-of-two source->blksize. To relax this restriction is
1302 * for this method. gcc users should not see __udivdi3() in xd3_ profiles. */ 1302 * relatively easy, see the history for xd3_blksize_div(). */
1303static inline 1303static inline
1304void xd3_blksize_div (const xoff_t offset, 1304void xd3_blksize_div (const xoff_t offset,
1305 const xd3_source *source, 1305 const xd3_source *source,