diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:47:33 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:47:33 +0100 |
commit | 0e8da94c2fec8fa5c66ee8df6e516913271c7863 (patch) | |
tree | 8b1a4ba01b60597e026e8907019c86be993a5d84 /libavcodec/avs.c | |
parent | 7b40f46fe274b73331c8eb8d6f25138d81b8db9e (diff) | |
download | ffmpeg-0e8da94c2fec8fa5c66ee8df6e516913271c7863.tar.gz |
Increase AVS palette dynamics.
Diffstat (limited to 'libavcodec/avs.c')
-rw-r--r-- | libavcodec/avs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avs.c b/libavcodec/avs.c index 4179821bc0..3ba781c7ae 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -87,7 +87,7 @@ avs_decode_frame(AVCodecContext * avctx, buf += 4; for (i=first; i<last; i++, buf+=3) { pal[i] = (buf[0] << 18) | (buf[1] << 10) | (buf[2] << 2); - pal[i] |= 0xFF << 24; + pal[i] |= 0xFF << 24 | (pal[i] >> 6) & 0x30303; } sub_type = buf[0]; |