Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
76071322
Commit
76071322
authored
Apr 01, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opencl: fix double ;
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
189cbc1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
opencl.c
libavutil/opencl.c
+2
-2
No files found.
libavutil/opencl.c
View file @
76071322
...
...
@@ -332,7 +332,7 @@ static int init_opencl_env(GPUEnv *gpu_env, AVOpenCLExternalEnv *ext_opencl_env)
}
if
(
status
!=
CL_SUCCESS
)
{
av_log
(
&
openclutils
,
AV_LOG_ERROR
,
"Could not get OpenCL device ids: %s
\n
"
,
opencl_errstr
(
status
));
ret
=
AVERROR
(
EINVAL
);
;
ret
=
AVERROR
(
EINVAL
);
goto
end
;
}
if
(
num_devices
)
...
...
@@ -354,7 +354,7 @@ static int init_opencl_env(GPUEnv *gpu_env, AVOpenCLExternalEnv *ext_opencl_env)
if
(
gpu_env
->
usr_spec_dev_info
.
dev_idx
>=
0
)
{
if
(
num_devices
<
gpu_env
->
usr_spec_dev_info
.
dev_idx
+
1
)
{
av_log
(
&
openclutils
,
AV_LOG_ERROR
,
"Could not get OpenCL device idx in the user set platform
\n
"
);
ret
=
AVERROR
(
EINVAL
);
;
ret
=
AVERROR
(
EINVAL
);
goto
end
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment