[FFmpeg-devel] [PATCH] lavu/opencl: remove semi-colon from macro.

Clément Bœsch ubitux at gmail.com
Fri May 24 12:01:19 CEST 2013


On Fri, May 24, 2013 at 05:58:53PM +0800, Wei Gao wrote:
> 2013/5/24 Clément Bœsch <ubitux at gmail.com>
> 
> > Fixes compilation when empty and the label above ends up containing no
> > statement. Also makes usage of these macro consistent (some already have
> > a semi colon, some others don't).
> >
> > Fixes Ticket #2603
> >
> > ---
> >
> > NOTE: completely untested
> > ---
> >  libavutil/opencl.c | 28 ++++++++++++++--------------
> >  1 file changed, 14 insertions(+), 14 deletions(-)
> >
> > diff --git a/libavutil/opencl.c b/libavutil/opencl.c
> > index f00ae9c..5887b50 100644
> > --- a/libavutil/opencl.c
> > +++ b/libavutil/opencl.c
> > @@ -31,8 +31,8 @@
> >  #include <pthread.h>
> >  static pthread_mutex_t atomic_opencl_lock = PTHREAD_MUTEX_INITIALIZER;
> >
> >
> >  int av_opencl_buffer_create(cl_mem *cl_buf, size_t cl_buf_size, int
> > flags, void *host_ptr)
> >
> looks good to me
> thanks
> 

Thank you, applied.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130524/3dccad80/attachment.asc>


More information about the ffmpeg-devel mailing list