swscale: fix integer overflows in RGB pixel writing.
authorMans Rullgard <mans@mansr.com>
Sat, 17 Dec 2011 18:45:46 +0000 (18:45 +0000)
committerMans Rullgard <mans@mansr.com>
Sat, 17 Dec 2011 18:59:24 +0000 (18:59 +0000)
commit77d88b872d8cbb42738ede2d4fc098c16f204236
treecd44cf2b6b447483c003e912445d25f865ebd15b
parentb4dc68803bd7fa73c2e37f55ae73b5fdb293c68d
swscale: fix integer overflows in RGB pixel writing.

We're shifting individual components (8-bit, unsigned) left by 24,
so making them unsigned should give the same results without the
overflow.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libswscale/swscale.c