Last change
on this file was 108913, checked in by vboxsync, 5 weeks ago |
libs/liblzma: Liblzma ose fix. jiraref:VBP-1635
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
609 bytes
|
Line | |
---|
1 | // SPDX-License-Identifier: 0BSD
|
---|
2 |
|
---|
3 | ///////////////////////////////////////////////////////////////////////////////
|
---|
4 | //
|
---|
5 | /// \file easy_encoder.c
|
---|
6 | /// \brief Easy .xz Stream encoder initialization
|
---|
7 | //
|
---|
8 | // Author: Lasse Collin
|
---|
9 | //
|
---|
10 | ///////////////////////////////////////////////////////////////////////////////
|
---|
11 |
|
---|
12 | #include "easy_preset.h"
|
---|
13 |
|
---|
14 |
|
---|
15 | extern LZMA_API(lzma_ret)
|
---|
16 | lzma_easy_encoder(lzma_stream *strm, uint32_t preset, lzma_check check)
|
---|
17 | {
|
---|
18 | lzma_options_easy opt_easy;
|
---|
19 | if (lzma_easy_preset(&opt_easy, preset))
|
---|
20 | return LZMA_OPTIONS_ERROR;
|
---|
21 |
|
---|
22 | return lzma_stream_encoder(strm, opt_easy.filters, check);
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.