diff options
author | wm4 <wm4@nowhere> | 2014-05-10 10:38:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-10 10:44:16 +0200 |
commit | 485d033b5f72b9211c2910117ce82b520aea629b (patch) | |
tree | 8371778effa733bbc5f9b33c97d8c62abe7e6799 /bstr | |
parent | 3c322b10221a18d83b55fbfdfe5d4e59e27772f7 (diff) | |
download | mpv-485d033b5f72b9211c2910117ce82b520aea629b.tar.bz2 mpv-485d033b5f72b9211c2910117ce82b520aea629b.tar.xz |
sub: fix undefined behavior in ASS color calculation
This might shift bits into the sign, which is undefined behavior. Making
the right operand unsigned was supposed to help with this, but it seems
it did nothing, and C99 makes the result type dependent on the left
operand only.
Diffstat (limited to 'bstr')
0 files changed, 0 insertions, 0 deletions