Fix compilation with OpenCL on MacOS X
authorAnton Mitrofanov <BugMaster@narod.ru>
Wed, 22 May 2013 18:43:59 +0000 (22:43 +0400)
committerJason Garrett-Glaser <jason@x264.com>
Wed, 22 May 2013 19:41:30 +0000 (12:41 -0700)
commit3af33c98a60a62bf9dee9ccb0f2475b8124a5354
treebd69692c060f25def9b0f334a010f76eba29c844
parenta3ac64b8b467eea1264c0053022893bc84b2e9a2
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