svq1enc: fix signed multiplication overflow
This multiplication can overflow the signed range but not the
unsigned. After right-shifting it will thus fit in the signed
range again.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Showing
Please
register
or
sign in
to comment