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
16db5271
Commit
16db5271
authored
Jun 07, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix use of unitialized variable reported by David Thiel, fix from Christophe Massiot
parent
bfdb4690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/audio_output/input.c
src/audio_output/input.c
+2
-7
No files found.
src/audio_output/input.c
View file @
16db5271
...
...
@@ -62,7 +62,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
aout_FormatPrint
(
p_aout
,
"input"
,
&
p_input
->
input
);
p_input
->
i_nb_filters
=
0
;
p_input
->
i_nb_
resamplers
=
p_input
->
i_nb_
filters
=
0
;
/* Prepare FIFO. */
aout_FifoInit
(
p_aout
,
&
p_input
->
fifo
,
p_aout
->
mixer
.
mixer
.
i_rate
);
...
...
@@ -323,11 +323,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
p_input
->
input_alloc
.
i_bytes_per_sec
=
-
1
;
/* Create resamplers. */
if
(
AOUT_FMT_NON_LINEAR
(
&
p_aout
->
mixer
.
mixer
)
)
{
p_input
->
i_nb_resamplers
=
0
;
}
else
if
(
!
AOUT_FMT_NON_LINEAR
(
&
p_aout
->
mixer
.
mixer
)
)
{
chain_output_format
.
i_rate
=
(
__MAX
(
p_input
->
input
.
i_rate
,
p_aout
->
mixer
.
mixer
.
i_rate
)
...
...
@@ -337,7 +333,6 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
/* Just in case... */
chain_output_format
.
i_rate
++
;
}
p_input
->
i_nb_resamplers
=
0
;
if
(
aout_FiltersCreatePipeline
(
p_aout
,
p_input
->
pp_resamplers
,
&
p_input
->
i_nb_resamplers
,
&
chain_output_format
,
...
...
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