cosmetics: VP8LCreateHuffmanTree: fix indent

Change-Id: I025fada400366f8937208e1f9b8df483cd53a942
This commit is contained in:
James Zern 2012-05-09 12:11:22 -07:00
parent 89d803c423
commit 27541fbdc0

View File

@ -90,7 +90,6 @@ int VP8LCreateHuffmanTree(const int* const histogram, int histogram_size,
if (tree == NULL) return 0;
tree_pool = tree + tree_size_orig;
// For block sizes with less than 64k symbols we never need to do a
// second iteration of this loop.
// If we actually start running inside this loop a lot, we would perhaps
@ -98,7 +97,6 @@ int VP8LCreateHuffmanTree(const int* const histogram, int histogram_size,
assert(tree_size_orig <= (1 << (tree_depth_limit - 1)));
for (count_min = 1; ; count_min *= 2) {
int tree_size = tree_size_orig;
{
// We need to pack the Huffman tree in tree_depth_limit bits.
// So, we try by faking histogram entries to be at least 'count_min'.
int idx = 0;
@ -114,10 +112,9 @@ int VP8LCreateHuffmanTree(const int* const histogram, int histogram_size,
++idx;
}
}
}
// Build the Huffman tree.
qsort((void*)tree, tree_size, sizeof(*tree), CompareHuffmanTrees);
qsort(tree, tree_size, sizeof(*tree), CompareHuffmanTrees);
if (tree_size > 1) { // Normal case.
int tree_pool_size = 0;