Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-07 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Thursday, June 7, 2018 6:21 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL > callb

Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-06 Thread Hendrik Leppkes
On Thu, Jun 7, 2018 at 12:21 AM, Mark Thompson wrote: > On 06/06/18 16:31, Ruiling Song wrote: >> This fix a build error on Windows: >> C2440: connot convert from 'void (__cdecl *) (...)' to 'void (__stdcall >> *)(...)'. >> >> Signed-off-by: Ruiling Song >> --- >> libavutil/hwcontext_opencl.c |

Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-06 Thread Mark Thompson
On 06/06/18 16:31, Ruiling Song wrote: > This fix a build error on Windows: > C2440: connot convert from 'void (__cdecl *) (...)' to 'void (__stdcall > *)(...)'. > > Signed-off-by: Ruiling Song > --- > libavutil/hwcontext_opencl.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) >

[FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-06 Thread Ruiling Song
This fix a build error on Windows: C2440: connot convert from 'void (__cdecl *) (...)' to 'void (__stdcall *)(...)'. Signed-off-by: Ruiling Song --- libavutil/hwcontext_opencl.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavutil/hwcontext_opencl.c b/libavutil/h