summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-10 10:34:11 +0200
committerwm4 <wm4@nowhere>2014-05-10 10:44:16 +0200
commit3c322b10221a18d83b55fbfdfe5d4e59e27772f7 (patch)
tree1c4c9a07b42139cec0285b9414109260ab0a0933 /sub/ass_mp.h
parentfc385baf021921d478e23f5a12c5e0d9f27e5368 (diff)
downloadmpv-3c322b10221a18d83b55fbfdfe5d4e59e27772f7.tar.bz2
mpv-3c322b10221a18d83b55fbfdfe5d4e59e27772f7.tar.xz
common: change MP_NOPTS_VALUE definition
Use the exact floating point value, instead of a broken integer constant. The expression calculating the constant probably relied on undefined behavior, because it left-shifts a negative value. This also changes the type of the constant to double, which is perfectly fine, and maybe better than an integer constant.
Diffstat (limited to 'sub/ass_mp.h')
0 files changed, 0 insertions, 0 deletions