Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
447b4ce7
Commit
447b4ce7
authored
May 09, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a segfault (i didn't know strstr segfaulted when the haystak was NULL ...)
parent
7189e5d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/gui/wxwindows/extrapanel.cpp
modules/gui/wxwindows/extrapanel.cpp
+2
-2
No files found.
modules/gui/wxwindows/extrapanel.cpp
View file @
447b4ce7
...
@@ -546,7 +546,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
...
@@ -546,7 +546,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
vlc_object_find
(
p_intf
,
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
char
*
psz_af
;
char
*
psz_af
=
NULL
;
if
(
p_aout
)
if
(
p_aout
)
{
{
psz_af
=
var_GetString
(
p_aout
,
"audio-filter"
);
psz_af
=
var_GetString
(
p_aout
,
"audio-filter"
);
...
@@ -559,7 +559,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
...
@@ -559,7 +559,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
if
(
config_GetInt
(
p_intf
,
"equalizer-2pass"
)
)
if
(
config_GetInt
(
p_intf
,
"equalizer-2pass"
)
)
eq_2p_chkbox
->
SetValue
(
true
);
eq_2p_chkbox
->
SetValue
(
true
);
}
}
if
(
strstr
(
psz_af
,
"equalizer"
)
!=
NULL
)
if
(
psz_af
!=
NULL
?
strstr
(
psz_af
,
"equalizer"
)
!=
NULL
:
VLC_FALSE
)
{
{
eq_chkbox
->
SetValue
(
true
);
eq_chkbox
->
SetValue
(
true
);
}
else
{
}
else
{
...
...
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