Commit ca106d6a authored by Paul B Mahol's avatar Paul B Mahol

avcodec/magicyuvenc: improve compression

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 7da25488
......@@ -344,7 +344,7 @@ static int encode_table(AVCodecContext *avctx, uint8_t *dst,
for (i = 0; i < 256; i++) {
counts[i].prob++;
counts[i].value = i;
counts[i].value = 255 - i;
}
magy_huffman_compute_bits(counts, he, 256, 16);
......
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