Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
5d4f1f91
Commit
5d4f1f91
authored
Apr 24, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vaapi: remove tautology
The configuration ID must exist in this code path.
parent
fb755df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/codec/avcodec/vaapi.c
modules/codec/avcodec/vaapi.c
+1
-2
No files found.
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