aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/simple_encoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-12-31 16:29:39 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-12-31 16:29:39 +0200
commit322ecf93c961e45a1da8c4a794a7fdacefcd7f40 (patch)
tree3fc5fbae174d255bdebced50f0695d08db0cb927 /src/liblzma/simple/simple_encoder.c
parentFixed missing quoting in configure.ac. (diff)
downloadxz-322ecf93c961e45a1da8c4a794a7fdacefcd7f40.tar.xz
Renamed lzma_options_simple to lzma_options_bcj in the API.
The internal implementation is still using the name "simple". It may need some cleanups, so I look at it later.
Diffstat (limited to '')
-rw-r--r--src/liblzma/simple/simple_encoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/simple/simple_encoder.c b/src/liblzma/simple/simple_encoder.c
index 15d888d9..fe2f98d6 100644
--- a/src/liblzma/simple/simple_encoder.c
+++ b/src/liblzma/simple/simple_encoder.c
@@ -23,7 +23,7 @@
extern lzma_ret
lzma_simple_props_size(uint32_t *size, const void *options)
{
- const lzma_options_simple *const opt = options;
+ const lzma_options_bcj *const opt = options;
*size = (opt == NULL || opt->start_offset == 0) ? 0 : 4;
return LZMA_OK;
}
@@ -32,7 +32,7 @@ lzma_simple_props_size(uint32_t *size, const void *options)
extern lzma_ret
lzma_simple_props_encode(const void *options, uint8_t *out)
{
- const lzma_options_simple *const opt = options;
+ const lzma_options_bcj *const opt = options;
// The default start offset is zero, so we don't need to store any
// options unless the start offset is non-zero.