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
56d55988
Commit
56d55988
authored
Jan 19, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: getVout() avoid a crash.
parent
a7c94c6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/input_manager.hpp
+1
-1
No files found.
modules/gui/qt4/input_manager.hpp
View file @
56d55988
...
@@ -210,7 +210,7 @@ public:
...
@@ -210,7 +210,7 @@ public:
vout_thread_t
*
getVout
()
vout_thread_t
*
getVout
()
{
{
vout_thread_t
**
pp_vout
;
int
i_vout
;
vout_thread_t
**
pp_vout
;
int
i_vout
;
if
(
!
input_Control
(
p_input
,
INPUT_GET_VOUTS
,
&
pp_vout
,
&
i_vout
)
)
if
(
p_input
&&
!
input_Control
(
p_input
,
INPUT_GET_VOUTS
,
&
pp_vout
,
&
i_vout
)
)
{
{
for
(
int
i
=
1
;
i
<
i_vout
;
i
++
)
vlc_object_release
(
pp_vout
[
i
]);
for
(
int
i
=
1
;
i
<
i_vout
;
i
++
)
vlc_object_release
(
pp_vout
[
i
]);
vout_thread_t
*
p_tmp
=
pp_vout
[
0
];
vout_thread_t
*
p_tmp
=
pp_vout
[
0
];
...
...
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