Disallow re-use of same transformation.

Limit the overall number of transformations to 4 and disallow any
duplicate transform for decoding an image.

Change-Id: Ic4b0ecd553db96702e117fd073617237d95e45c0
This commit is contained in:
Vikas Arora
2012-05-23 16:09:53 +05:30
parent 98ec717f1e
commit 9fc64edc21
2 changed files with 10 additions and 3 deletions

View File

@ -23,7 +23,7 @@
extern "C" {
#endif
#define NUM_TRANSFORMS 8
#define NUM_TRANSFORMS 4
#define HUFFMAN_CODES_PER_META_CODE 5
#define ARGB_BLACK 0xff000000
#define NUM_LITERAL_CODES 256