Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a33705a6
Commit
a33705a6
authored
Sep 22, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in the conversion splitter.
parent
8ef0fc63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
src/audio_output/filters.c
src/audio_output/filters.c
+5
-11
No files found.
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/02 23:17:06
massiot Exp $
* $Id: filters.c,v 1.
10 2002/09/22 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
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