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
59253baf
Commit
59253baf
authored
Nov 13, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: fix infinite loop on error (fixes #7711)
parent
606ac518
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/audio_output/dec.c
src/audio_output/dec.c
+3
-5
No files found.
src/audio_output/dec.c
View file @
59253baf
...
...
@@ -67,7 +67,6 @@ int aout_DecNew( audio_output_t *p_aout,
}
aout_owner_t
*
owner
=
aout_owner
(
p_aout
);
int
ret
=
0
;
/* TODO: reduce lock scope depending on decoder's real need */
aout_lock
(
p_aout
);
...
...
@@ -92,8 +91,8 @@ int aout_DecNew( audio_output_t *p_aout,
aout_OutputDelete
(
p_aout
);
error:
aout_volume_Delete
(
owner
->
volume
);
ret
=
-
1
;
goto
error
;
aout_unlock
(
p_aout
)
;
return
-
1
;
}
owner
->
sync
.
end
=
VLC_TS_INVALID
;
...
...
@@ -102,8 +101,7 @@ error:
aout_unlock
(
p_aout
);
atomic_init
(
&
owner
->
buffers_lost
,
0
);
return
ret
;
return
0
;
}
/**
...
...
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