diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-12-27 22:49:39 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-12-27 22:57:53 +0100 |
commit | 035180901de9bbea873001b82d96dd2b7a45d76a (patch) | |
tree | 936f37cdc0e2c6710d4263d06c9f4e7b4710f64c /libavcodec/pngenc.c | |
parent | 56e432b27b8f65872a8b1381bde86b7e54f6a7c7 (diff) | |
download | ffmpeg-035180901de9bbea873001b82d96dd2b7a45d76a.tar.gz |
r210enc.c: Simplify and never store more than 10 bits.
The r10k and avrp decoders would previously store 12 bit precision
for the blue channel, which is inconsistent and probably not a
desirable behaviour.
Now the 2 unused extra bits are set to 0.
This is possibly not ideal either as RGBA1010102 format has the same
layout but stores alpha in these bits, thus explicitly setting them
to 1 might be preferable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/pngenc.c')
0 files changed, 0 insertions, 0 deletions