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
00eef9c2
Commit
00eef9c2
authored
Jul 22, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: fix error handling
parent
aedd5217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/audio_output/dec.c
src/audio_output/dec.c
+2
-6
No files found.
src/audio_output/dec.c
View file @
00eef9c2
...
...
@@ -97,10 +97,7 @@ int aout_DecNew( audio_output_t *p_aout,
vlc_atomic_set
(
&
owner
->
restart
,
0
);
owner
->
volume
=
aout_volume_New
(
p_aout
,
p_replay_gain
);
if
(
aout_OutputNew
(
p_aout
,
p_format
)
<
0
)
{
ret
=
-
1
;
goto
error
;
}
aout_volume_SetFormat
(
owner
->
volume
,
owner
->
mixer_format
.
i_format
);
/* Create the audio filtering "input" pipeline */
...
...
@@ -113,11 +110,10 @@ int aout_DecNew( audio_output_t *p_aout,
if
(
owner
->
input
==
NULL
)
{
aout_OutputDelete
(
p_aout
);
error:
aout_volume_Delete
(
owner
->
volume
);
aout_unlock
(
p_aout
);
return
-
1
;
ret
=
-
1
;
}
error:
aout_unlock
(
p_aout
);
return
ret
;
}
...
...
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