Last change
on this file since 98879 was 98730, checked in by vboxsync, 21 months ago |
libs/liblzma-5.4.1: Export to OSE, bugref:10254
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
727 bytes
|
Line | |
---|
1 | ///////////////////////////////////////////////////////////////////////////////
|
---|
2 | //
|
---|
3 | /// \file easy_preset.c
|
---|
4 | /// \brief Preset handling for easy encoder and decoder
|
---|
5 | //
|
---|
6 | // Author: Lasse Collin
|
---|
7 | //
|
---|
8 | // This file has been put into the public domain.
|
---|
9 | // You can do whatever you want with this file.
|
---|
10 | //
|
---|
11 | ///////////////////////////////////////////////////////////////////////////////
|
---|
12 |
|
---|
13 | #include "easy_preset.h"
|
---|
14 |
|
---|
15 |
|
---|
16 | extern bool
|
---|
17 | lzma_easy_preset(lzma_options_easy *opt_easy, uint32_t preset)
|
---|
18 | {
|
---|
19 | if (lzma_lzma_preset(&opt_easy->opt_lzma, preset))
|
---|
20 | return true;
|
---|
21 |
|
---|
22 | opt_easy->filters[0].id = LZMA_FILTER_LZMA2;
|
---|
23 | opt_easy->filters[0].options = &opt_easy->opt_lzma;
|
---|
24 | opt_easy->filters[1].id = LZMA_VLI_UNKNOWN;
|
---|
25 |
|
---|
26 | return false;
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.