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
30d0645a
Commit
30d0645a
authored
Dec 17, 2007
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix floating point exception.
parent
1aa118d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+4
-2
No files found.
modules/audio_filter/channel_mixer/mono.c
View file @
30d0645a
...
@@ -363,9 +363,11 @@ static int OpenFilter( vlc_object_t *p_this )
...
@@ -363,9 +363,11 @@ static int OpenFilter( vlc_object_t *p_this )
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
NULL
;
filter_sys_t
*
p_sys
=
NULL
;
if
(
aout_FormatNbChannels
(
&
(
p_filter
->
fmt_in
.
audio
)
)
==
1
)
if
(
(
aout_FormatNbChannels
(
&
(
p_filter
->
fmt_in
.
audio
)
)
==
1
)
||
(
aout_FormatNbChannels
(
&
(
p_filter
->
fmt_in
.
audio
)
)
==
0
)
)
{
{
msg_Dbg
(
p_filter
,
"filter discarded (incompatible format)"
);
msg_Err
(
p_filter
,
"incompatible format: %d channels"
,
aout_FormatNbChannels
(
&
(
p_filter
->
fmt_in
.
audio
)
)
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
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