git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5190
b64f7644-9d1e-0410-96f1-
a4d463321fa5
\r
#ifdef USE_EXTERNAL_KERNEL\r
status = hb_convert_to_string( filename, &source_str, gpu_info, idx );\r
+ if( status == 0 )\r
+ return(0);\r
#else\r
int kernel_src_size = strlen( kernel_src_hscale )+strlen( kernel_src_vscale )+strlen( kernel_src_nvtoyuv );\r
source_str = (char*)malloc( kernel_src_size+2 );\r
strcat( source_str, kernel_src_nvtoyuv );\r
#endif\r
\r
- if( status == 0 )\r
- return(0);\r
\r
source = source_str;\r
source_size[0] = strlen( source );\r