Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
8463d728
Commit
8463d728
authored
Aug 22, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_output/x11/glx.c: don't call XCloseDisplay() if p_display == NULL.
parent
852f3863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
modules/video_output/x11/glx.c
modules/video_output/x11/glx.c
+1
-5
No files found.
modules/video_output/x11/glx.c
View file @
8463d728
...
@@ -185,7 +185,6 @@ static int CheckGLX( vlc_object_t *p_this, vlc_bool_t *b_glx13 )
...
@@ -185,7 +185,6 @@ static int CheckGLX( vlc_object_t *p_this, vlc_bool_t *b_glx13 )
if
(
!
p_display
)
if
(
!
p_display
)
{
{
msg_Err
(
p_this
,
"Cannot open display"
);
msg_Err
(
p_this
,
"Cannot open display"
);
XCloseDisplay
(
p_display
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -207,10 +206,7 @@ static int CheckGLX( vlc_object_t *p_this, vlc_bool_t *b_glx13 )
...
@@ -207,10 +206,7 @@ static int CheckGLX( vlc_object_t *p_this, vlc_bool_t *b_glx13 )
if
(
!
glXQueryVersion
(
p_display
,
&
i_maj
,
&
i_min
)
)
if
(
!
glXQueryVersion
(
p_display
,
&
i_maj
,
&
i_min
)
)
{
{
msg_Err
(
p_this
,
"glXQueryVersion failed"
);
msg_Err
(
p_this
,
"glXQueryVersion failed"
);
if
(
p_display
!=
NULL
)
XCloseDisplay
(
p_display
);
{
XCloseDisplay
(
p_display
);
}
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
if
(
i_maj
<=
0
||
((
i_maj
==
1
)
&&
(
i_min
<
3
))
)
if
(
i_maj
<=
0
||
((
i_maj
==
1
)
&&
(
i_min
<
3
))
)
...
...
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