diff options
author | jstebbins <[email protected]> | 2013-11-26 22:12:55 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-11-26 22:12:55 +0000 |
commit | 779fa193b6433f0afadc3fe3c3a6ad72dce54b2c (patch) | |
tree | 9f42ecc28232e0043d095d8a0f9eab5bb95d1b47 /libhb/openclwrapper.c | |
parent | 58f46542a4d4629050ebc6dfed50f4ec2bcfa0a4 (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.c | 4 |
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"); |