Skip to content
Snippets Groups Projects
Commit a6b1180e authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Paul B Mahol
Browse files

avcodec/pixlet: fix architecture-dependent code and values


The constants used in the decoder used floating point precision,
and this caused different values to be generated on different
architectures.

So, eradicate floating point numbers and use fixed point (32.32)
arithmetics everywhere, replacing constants with precomputed integer
values.

Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>
Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent b6eaa392
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment