avcodec/indeo3data: fix undefined left shift of negative number
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 19 Sep 2015 05:43:39 +0000 (02:43 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 19 Sep 2015 05:43:39 +0000 (02:43 -0300)
commit8c9853a69ba828f814d01539bddddd0950cf1863
treec69743777d13a034150e6308526ff7e422787e83
parent3693efb3158d8e6aaeb9d504177fb6f96fc8f4e3
avcodec/indeo3data: fix undefined left shift of negative number

This fixes a whole sea of -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.
Any half decent compiler should anyway optimize away the multiplication.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/indeo3data.h