diff options
author | Nicolas George <george@nsup.org> | 2014-07-15 16:04:49 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-07-17 18:11:56 +0200 |
commit | 16c6795465fd7663792fe535256c760560714863 (patch) | |
tree | d393a11916ae7a590d2f6d44a32148987fc37fc7 /libavcodec/bit_depth_template.c | |
parent | 36fbe3c789744ad866f292a942bfb3b5d8417e77 (diff) | |
download | ffmpeg-16c6795465fd7663792fe535256c760560714863.tar.gz |
lavd/x11grab: check 32-bits color masks.
The X11 servers by VNC, at 32-bits depths, has the following masks:
R:0x000007ff G:0x003ff800 B:0xffc00000
This is not compatible with AV_PIX_FMT_0RGB32, and the result
is success with completely wrong colors.
Diffstat (limited to 'libavcodec/bit_depth_template.c')
0 files changed, 0 insertions, 0 deletions