qdm2: fix signed multiplication overflow
authorMans Rullgard <mans@mansr.com>
Tue, 11 Oct 2011 16:45:55 +0000 (17:45 +0100)
committerMans Rullgard <mans@mansr.com>
Wed, 12 Oct 2011 11:28:08 +0000 (12:28 +0100)
commitc682514a8f17a886f31c5aa0bba78c4f260fbfcf
tree9e38d10dfbae7a9c4a3a026d5e556587a8966fc3
parent5e87222fd1dd57483c2a566e6643ca601b0e4e0c
qdm2: fix signed multiplication overflow

This code relies on the result wrapping as for unsigned
values, and the sign is not used.  Thus an unsigned type
is proper here.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/qdm2_tablegen.h