Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
10a562ee
Commit
10a562ee
authored
Dec 03, 2017
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vaapi: fix crash on error case
Regression from
f0c3cef0
Close #19204
parent
945e9cea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/video_output/opengl/converter_vaapi.c
modules/video_output/opengl/converter_vaapi.c
+2
-1
No files found.
modules/video_output/opengl/converter_vaapi.c
View file @
10a562ee
...
...
@@ -305,7 +305,8 @@ Close(vlc_object_t *obj)
if
(
priv
->
last
.
pic
!=
NULL
)
vaegl_release_last_pic
(
tc
,
priv
);
vlc_vaapi_ReleaseInstance
(
priv
->
vainst
);
if
(
priv
->
vainst
)
vlc_vaapi_ReleaseInstance
(
priv
->
vainst
);
free
(
tc
->
priv
);
}
...
...
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