Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
libopusenc
Commits
164cbb59
Unverified
Commit
164cbb59
authored
Feb 08, 2018
by
Jean-Marc Valin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore close errors in ope_encoder_destroy()
parent
fd906076
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/opusenc.c
src/opusenc.c
+2
-7
No files found.
src/opusenc.c
View file @
164cbb59
...
...
@@ -775,13 +775,8 @@ void ope_encoder_destroy(OggOpusEnc *enc) {
while
(
stream
!=
NULL
)
{
EncStream
*
tmp
=
stream
;
stream
=
stream
->
next
;
if
(
tmp
->
close_at_end
)
{
int
ret
=
enc
->
callbacks
.
close
(
tmp
->
user_data
);
if
(
ret
)
{
enc
->
unrecoverable
=
OPE_CLOSE_FAIL
;
return
;
}
}
/* Ignore any error on close. */
if
(
tmp
->
close_at_end
)
enc
->
callbacks
.
close
(
tmp
->
user_data
);
stream_destroy
(
tmp
);
}
if
(
enc
->
chaining_keyframe
)
free
(
enc
->
chaining_keyframe
);
...
...
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