diff options
author | wm4 <wm4@nowhere> | 2014-12-01 16:09:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-01 16:09:25 +0100 |
commit | 52c51149dbb3717feb6d5600a04f4d922ae675e3 (patch) | |
tree | 553bb21106f95c855b04d4edcb783472cfaa7705 /stream/cookies.c | |
parent | 62998e9709f40f44e0e77a3b0635709b350a24ec (diff) | |
download | mpv-52c51149dbb3717feb6d5600a04f4d922ae675e3.tar.bz2 mpv-52c51149dbb3717feb6d5600a04f4d922ae675e3.tar.xz |
options: fix channel map options sometimes failing
Channel amp otpions were not copied correctly: it copied the size of a
pointer to struct chmap, not the struct itself. Since mp_chmap is
currently 9 bytes, this meant the last channel entry was not copied
correctly on 64 bit systems, leading to very strange failures. It could
be triggered especially when using the client API, because the client
API always copies options on access (mpv command line options tend to
work directly on options).
Diffstat (limited to 'stream/cookies.c')
0 files changed, 0 insertions, 0 deletions