summaryrefslogtreecommitdiff
path: root/src/lib/lzmadecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/lzmadecode.h')
-rw-r--r--src/lib/lzmadecode.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/lib/lzmadecode.h b/src/lib/lzmadecode.h
index 34c9f14c33..892ad403db 100644
--- a/src/lib/lzmadecode.h
+++ b/src/lib/lzmadecode.h
@@ -38,11 +38,10 @@ typedef UInt32 SizeT;
#define LZMA_PROPERTIES_SIZE 5
-typedef struct _CLzmaProperties
-{
- int lc;
- int lp;
- int pb;
+typedef struct _CLzmaProperties {
+ int lc;
+ int lp;
+ int pb;
}CLzmaProperties;
int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, int size);
@@ -51,17 +50,14 @@ int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsDa
#define kLzmaNeedInitId (-2)
-typedef struct _CLzmaDecoderState
-{
- CLzmaProperties Properties;
- CProb *Probs;
-
-
+typedef struct _CLzmaDecoderState {
+ CLzmaProperties Properties;
+ CProb *Probs;
} CLzmaDecoderState;
int LzmaDecode(CLzmaDecoderState *vs,
- const unsigned char *inStream, SizeT inSize, SizeT *inSizeProcessed,
- unsigned char *outStream, SizeT outSize, SizeT *outSizeProcessed);
+ const unsigned char *inStream, SizeT inSize, SizeT *inSizeProcessed,
+ unsigned char *outStream, SizeT outSize, SizeT *outSizeProcessed);
#endif