OpenCL: Fix ABI incompatibility issues
authorManeesh Gupta <maneesh.gupta@amd.com>
Tue, 28 Apr 2015 07:32:38 +0000 (13:02 +0530)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Apr 2015 10:28:53 +0000 (12:28 +0200)
commit91305c60261c77ad4a071062a21136fc0b6c5ab2
tree2b56c69049a0ec79a2450b73216a727598c300bc
parentcf234552b83a9503ff96572de2658b921b8842eb
OpenCL: Fix ABI incompatibility issues

AVOpenCLDeviceNode and AVOpenCLPlatformNode used fixed static buffer for holding the device and platform name.
This patch modifies these structures to use pointers instead. The memory required to hold the names is
now dynamically allocated, the size for which is determined by querying appropriate OpenCL runtime APIs.

Signed-off-by: Maneesh Gupta <maneesh.gupta@amd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/opencl.c
libavutil/opencl.h