motion_est_template: Fix undefined left shift of negative number
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 26 Sep 2015 14:24:01 +0000 (16:24 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 29 Sep 2015 12:33:00 +0000 (14:33 +0200)
commit4885bde3187a2bb0cae85b67796e07db233bf77f
treec824827d2232685bb53d9dea1bc9ba8d57e4e9b2
parent977f41e274a66c9d257186ca1df8373a09cc4d40
motion_est_template: Fix undefined left shift of negative number

This fixes a -Wshift-negative-value warning reported with clang 3.7+.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavcodec/motion_est_template.c