aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-10-08 01:37:20 +0100
committerMans Rullgard <mans@mansr.com>2011-10-14 20:45:22 +0100
commitd341d5fd2cd7e301a20dcb50f3e1445571765023 (patch)
tree33de6fbbcad175cb3b3c5a054eeca9099c88ea44 /tests
parent05c8f119cc6b5727319c56b055af82ac1ded93b5 (diff)
downloadffmpeg-d341d5fd2cd7e301a20dcb50f3e1445571765023.tar.gz
dnxhdenc: fixed signed multiplication overflow
The low 32 bits of a multiplication are the same for signed and unsigned operands. Casting to unsigned before multiplying is thus equivalent while avoiding signed overflow, which is undefined by the C99 standard. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions