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

Wei Gao highgod0401 at gmail.com
Fri May 24 11:58:53 CEST 2013


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

> --
> 1.8.2.3
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list