diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-27 23:37:13 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-27 23:37:13 +0300 |
commit | ad97483b6e55142fd8d5c041db057017a891cd95 (patch) | |
tree | 918fca68b21e59ace93bc225dfde14733f49601b /src/liblzma/common/auto_decoder.c | |
parent | Remove po/fi.po since I'm not keeping it updated for now. (diff) | |
download | xz-ad97483b6e55142fd8d5c041db057017a891cd95.tar.xz |
Changed magic bytes to match the updated spec. Filename
suffix wasn't changed yet.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/auto_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/auto_decoder.c b/src/liblzma/common/auto_decoder.c index 05a9fbb4..dd108324 100644 --- a/src/liblzma/common/auto_decoder.c +++ b/src/liblzma/common/auto_decoder.c @@ -52,10 +52,10 @@ auto_decode(lzma_coder *coder, lzma_allocator *allocator, coder->sequence = SEQ_CODE; // Detect the file format. For now this is simple, since if - // it doesn't start with 0xFF (the first magic byte of the + // it doesn't start with 0xFD (the first magic byte of the // new format), it has to be LZMA_Alone, or something that // we don't support at all. - if (in[*in_pos] == 0xFF) { + if (in[*in_pos] == 0xFD) { return_if_error(lzma_stream_decoder_init( &coder->next, allocator, coder->memlimit, coder->flags)); |