summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 17:55:19 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:10 +0100
commit212ce468d83732c5e6e35e307e60f3919c48de34 (patch)
treec231b6d75d49578b2f223812131855a91008f076 /video/sws_utils.c
parentc8268701d9a4c5ff38b48f0e6b689f6dade4de42 (diff)
downloadmpv-212ce468d83732c5e6e35e307e60f3919c48de34.tar.bz2
mpv-212ce468d83732c5e6e35e307e60f3919c48de34.tar.xz
gl_lcms: use global lock to deal with crappy lcms2 message callback
lcms2 has a global message callback for error reporting. If you don't set this, these error messages are silently thrown away. I think we still want the error messages, so we have to do dumb stuff to avoid clashes. This doesn't handle the case if another library in the same process sets the message callback, but at least this should exclude possible memory errors when running multiple instances of mpv.
Diffstat (limited to 'video/sws_utils.c')
0 files changed, 0 insertions, 0 deletions