mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/2/head
parent
05c8f119cc
commit
d341d5fd2c
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue