qtpalette: make the color_* variables unsigned again
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 10 Jan 2016 09:53:33 +0000 (10:53 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 11 Jan 2016 22:14:52 +0000 (23:14 +0100)
commit63c9b30f98ce7d160b3a6dec1b36dc05fbb71941
tree5d86b759b67580d8c2f870e5028dbbf2a2a0c6a8
parent59c915a403af32c4ff5126625b0cc7e38f4beff9
qtpalette: make the color_* variables unsigned again

This fixes segmentation faults due to out of bounds writes, when
color_start is interpreted as negative number.

This regression was introduced in commit 57631f.

Reviewed-by: Mats Peterson <matsp888@yahoo.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/qtpalette.c