diff options
author | Akemi <der.richter@gmx.de> | 2018-08-09 16:06:00 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-08-11 12:59:44 +0200 |
commit | 6bf0edc59cc377705a44fcb30890592aaaff79c0 (patch) | |
tree | 2257a1503f8621093fabd169d2dbd9de867e0573 /common/encode.h | |
parent | f2311ff51461ec9539efb00458b8a54ded56511b (diff) | |
download | mpv-6bf0edc59cc377705a44fcb30890592aaaff79c0.tar.bz2 mpv-6bf0edc59cc377705a44fcb30890592aaaff79c0.tar.xz |
cocoa-cb: fix crash when no screen is available
instead of force unwrapping and chaining the optional vars in our
containsMouseLocation function, safely unwrap and guard the resulting
var.
Fixes #6062
Diffstat (limited to 'common/encode.h')
0 files changed, 0 insertions, 0 deletions