summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-25 00:30:04 +0200
committersfan5 <sfan5@live.de>2019-10-25 15:06:08 +0200
commit3c7e20a0e22b61a015b35f989b7d9f0aadb5ae6a (patch)
tree3c2bb8adb15cd4e1f3dfcd91e229971d51bf99c8 /options/options.c
parent419c44ccf6cc522cd69be0a905d8c6f46e528aca (diff)
downloadmpv-3c7e20a0e22b61a015b35f989b7d9f0aadb5ae6a.tar.bz2
mpv-3c7e20a0e22b61a015b35f989b7d9f0aadb5ae6a.tar.xz
json: write NaN/Infinity float values as strings
JSON doesn't support these for some god-awful reason. (JSON would have been so much better if it weren't based on JavaScript, the plague of this world.) We don't really care whether these specific values "round trip", so we might as well write them in a standard-compliant way. Untested. I was too lazy to even run this, but it probably works. See #6691.
Diffstat (limited to 'options/options.c')
0 files changed, 0 insertions, 0 deletions