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
c8b5e32b
Commit
c8b5e32b
authored
Apr 14, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to check for strtof() here
parent
23c561ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
modules/audio_filter/equalizer.c
modules/audio_filter/equalizer.c
+0
-4
modules/gui/macosx/equalizer.m
modules/gui/macosx/equalizer.m
+0
-4
No files found.
modules/audio_filter/equalizer.c
View file @
c8b5e32b
...
...
@@ -588,11 +588,7 @@ static int BandsCallback( vlc_object_t *p_this, char const *psz_cmd,
break
;
/* Read dB -20/20 */
#ifdef HAVE_STRTOF
f
=
strtof
(
p
,
&
psz_next
);
#else
f
=
(
float
)
strtod
(
p
,
&
psz_next
);
#endif
if
(
psz_next
==
p
)
break
;
/* no conversion */
...
...
modules/gui/macosx/equalizer.m
View file @
c8b5e32b
...
...
@@ -215,11 +215,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
for
(
i
=
0
;
i
<
10
;
i
++
)
{
/* Read dB -20/20 */
#ifdef HAVE_STRTOF
f_band
[
i
]
=
strtof
(
psz_bands
,
&
p_next
);
#else
f_band
[
i
]
=
(
float
)
strtod
(
psz_bands
,
&
p_next
);
#endif
if
(
!
p_next
||
p_next
==
psz_bands
)
break
;
/* strtof() failed */
if
(
!*
psz_bands
)
break
;
/* end of line */
...
...
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