Fix compilation with OpenCL on MacOS X
authorAnton Mitrofanov <BugMaster@narod.ru>
Wed, 22 May 2013 18:43:59 +0000 (22:43 +0400)
committerFiona Glaser <fiona@x264.com>
Wed, 22 May 2013 19:41:30 +0000 (12:41 -0700)
commit3b8e924639ac67a4beb0ebe9b9663de03cdce84d
tree96547fa9ead9059a1bf4f4c66d5c499cd881ebf5
parent3aa9a67b6d62bcf11ee69397647230700a32044b
Fix compilation with OpenCL on MacOS X

Also fix crash in the case of OpenCL error during encoding.
common/opencl.c
encoder/slicetype-cl.c
extras/cl_platform.h