Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
f4e319d8
Commit
f4e319d8
authored
Nov 25, 2017
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hwcontext_opencl: Reset internal command queue on device_uninit
device_uninit can be called twice if device_init fails.
parent
8bbf2dac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
hwcontext_opencl.c
libavutil/hwcontext_opencl.c
+1
-0
No files found.
libavutil/hwcontext_opencl.c
View file @
f4e319d8
...
@@ -883,6 +883,7 @@ static void opencl_device_uninit(AVHWDeviceContext *hwdev)
...
@@ -883,6 +883,7 @@ static void opencl_device_uninit(AVHWDeviceContext *hwdev)
av_log
(
hwdev
,
AV_LOG_ERROR
,
"Failed to release internal "
av_log
(
hwdev
,
AV_LOG_ERROR
,
"Failed to release internal "
"command queue reference: %d.
\n
"
,
cle
);
"command queue reference: %d.
\n
"
,
cle
);
}
}
priv
->
command_queue
=
NULL
;
}
}
}
}
...
...
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