Commit dd61c4c4 authored by ods15's avatar ods15

Original Commit: r51 | ods15 | 2006-09-23 16:32:30 +0300 (Sat, 23 Sep 2006) | 2 lines

deobfuscate a bit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6458 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2fe1d32b
......@@ -189,7 +189,11 @@ static void ready_codebook(codebook_t * cb) {
cb_entry_t * e = &cb->entries[i];
int j = 0;
if (h[0]) h[0] = 0;
else for (j = e->len; !h[j]; j--) assert(j);
else {
for (j = e->len; j; j--)
if (h[j]) break;
assert(j);
}
e->codeword = h[j];
h[j] = 0;
for (j++; j <= e->len; j++) h[j] = e->codeword | (1 << (j - 1));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment