Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
5d4f1f91
Commit
5d4f1f91
authored
Apr 24, 2015
by
Rémi Denis-Courmont
Browse files
vaapi: remove tautology
The configuration ID must exist in this code path.
parent
fb755df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/avcodec/vaapi.c
View file @
5d4f1f91
...
...
@@ -420,8 +420,7 @@ static void Delete( vlc_va_t *va, AVCodecContext *avctx )
if
(
sys
->
i_surface_width
||
sys
->
i_surface_height
)
DestroySurfaces
(
sys
);
if
(
sys
->
i_config_id
!=
VA_INVALID_ID
)
vaDestroyConfig
(
sys
->
p_display
,
sys
->
i_config_id
);
vaDestroyConfig
(
sys
->
p_display
,
sys
->
i_config_id
);
vaTerminate
(
sys
->
p_display
);
#ifdef VLC_VA_BACKEND_XLIB
XCloseDisplay
(
sys
->
p_display_x11
);
...
...
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