Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
a33705a6
Commit
a33705a6
authored
Sep 22, 2002
by
Christophe Massiot
Browse files
Fixed a bug in the conversion splitter.
parent
8ef0fc63
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/audio_output/filters.c
View file @
a33705a6
...
...
@@ -2,7 +2,7 @@
* filters.c : audio output filters management
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: filters.c,v 1.
9
2002/09/
0
2
23:17:06
massiot Exp $
* $Id: filters.c,v 1.
10
2002/09/
2
2
14:53:52
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -90,25 +90,19 @@ static int SplitConversion( aout_instance_t * p_aout,
if
(
i_nb_conversions
==
2
)
{
if
(
!
b_format
)
if
(
!
b_format
||
!
b_channels
)
{
p_middle_format
->
i_rate
=
p_input_format
->
i_rate
;
return
1
;
}
if
(
!
b_rate
)
{
p_middle_format
->
i_channels
=
p_input_format
->
i_channels
;
return
1
;
}
/* !b_channels */
p_middle_format
->
i_rate
=
p_input_format
->
i_rate
;
/* !b_rate */
p_middle_format
->
i_channels
=
p_input_format
->
i_channels
;
return
1
;
}
/* i_nb_conversion == 3 */
p_middle_format
->
i_
channels
=
p_input_format
->
i_
channels
;
p_middle_format
->
i_
rate
=
p_input_format
->
i_
rate
;
return
2
;
}
...
...
Write
Preview
Supports
Markdown
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