VirtualBox

source: vbox/trunk/src/libs/liblzma-5.4.1/common/easy_encoder.c@ 103980

最後變更 在這個檔案從103980是 98730,由 vboxsync 提交於 2 年 前

libs/liblzma-5.4.1: Export to OSE, bugref:10254

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 678 位元組
 
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file easy_encoder.c
4/// \brief Easy .xz Stream encoder initialization
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
16extern LZMA_API(lzma_ret)
17lzma_easy_encoder(lzma_stream *strm, uint32_t preset, lzma_check check)
18{
19 lzma_options_easy opt_easy;
20 if (lzma_easy_preset(&opt_easy, preset))
21 return LZMA_OPTIONS_ERROR;
22
23 return lzma_stream_encoder(strm, opt_easy.filters, check);
24}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette