summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-08 10:21:12 +0100
committerwm4 <wm4@nowhere>2014-11-08 10:21:12 +0100
commit2a5c77df73b721d05e2a1331b79caa5a3a0c4969 (patch)
tree5b1c59f6e5f14a548708c6d31a364d04b84f7135 /player/command.c
parent64f6e88c454d4c63b3bc45cf5f7d01d5006e67f0 (diff)
downloadmpv-2a5c77df73b721d05e2a1331b79caa5a3a0c4969.tar.bz2
mpv-2a5c77df73b721d05e2a1331b79caa5a3a0c4969.tar.xz
demux_mkv: fix undefined shifts
Found by clang sanitizer. Casting unsigned integers to signed integers with same size has implementation defined behavior (it's even allowed to crash), but it seems reasonable to expect that reasonable implementations do a complement of 2 "conversion".
Diffstat (limited to 'player/command.c')
0 files changed, 0 insertions, 0 deletions