summaryrefslogtreecommitdiffstats
path: root/libhb/openclwrapper.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-11-26 22:12:55 +0000
committerjstebbins <[email protected]>2013-11-26 22:12:55 +0000
commit779fa193b6433f0afadc3fe3c3a6ad72dce54b2c (patch)
tree9f42ecc28232e0043d095d8a0f9eab5bb95d1b47 /libhb/openclwrapper.c
parent58f46542a4d4629050ebc6dfed50f4ec2bcfa0a4 (diff)
libhb: fix a bunch of compiler warnings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5905 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/openclwrapper.c')
-rw-r--r--libhb/openclwrapper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libhb/openclwrapper.c b/libhb/openclwrapper.c
index 7fb395aba..652cf23d4 100644
--- a/libhb/openclwrapper.c
+++ b/libhb/openclwrapper.c
@@ -648,7 +648,7 @@ int hb_release_opencl_env( GPUEnv *gpu_info )
for( i = 0; i<gpu_env.file_count; i++ )
{
- if( gpu_env.programs[i] ) ;
+ if( gpu_env.programs[i] )
{
hb_ocl->clReleaseProgram(gpu_env.programs[i]);
gpu_env.programs[i] = NULL;
@@ -1177,8 +1177,6 @@ int hb_read_opencl_frame_buffer(cl_mem cl_inBuf,unsigned char *Ybuf,unsigned cha
int hb_write_opencl_frame_buffer(cl_mem cl_inBuf,unsigned char *Ybuf,unsigned char *Ubuf,unsigned char *Vbuf,int linesize0,int linesize1,int linesize2,int height,int offset)
{
- int status;
-
if (hb_ocl == NULL)
{
hb_error("hb_write_opencl_frame_buffer: OpenCL support not available");