swscale/output: fix undefined left shifts of negative numbers
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 19 Sep 2015 17:10:44 +0000 (13:10 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Sep 2015 23:14:36 +0000 (01:14 +0200)
commit7cf22c79706d23d40d16cee37eb32d5797adcc2c
tree6f623aea82c6d6d3715a558e9be1c764f2f05371
parent094a1985d618e29283b435ec2f9ebca38fc03e09
swscale/output: fix undefined left shifts of negative numbers

This fixes -Wshift-negative-value reported with clang 3.7+, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/output.c