Merge "Limit the maximum size of huffman Image to 16MB."

This commit is contained in:
pascal massimino 2012-06-17 00:20:26 -07:00 committed by Gerrit Code Review
commit 4b79fa5923

View File

@ -27,7 +27,7 @@ extern "C" {
#endif #endif
#define PALETTE_KEY_RIGHT_SHIFT 22 // Key for 1K buffer. #define PALETTE_KEY_RIGHT_SHIFT 22 // Key for 1K buffer.
#define MAX_HUFF_IMAGE_SIZE (32 * 1024 * 1024) #define MAX_HUFF_IMAGE_SIZE (16 * 1024 * 1024)
#define MIN_HISTO_BITS 2 #define MIN_HISTO_BITS 2
#define MAX_HISTO_BITS 9 #define MAX_HISTO_BITS 9