Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
8c6bc974
Commit
8c6bc974
authored
Dec 05, 2012
by
Mathis Rosenhauer
Committed by
Thomas Jahns
Feb 19, 2013
Browse files
zero avail_out is legal after buffer_encode
parent
59791f65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/encode.c
View file @
8c6bc974
...
...
@@ -906,7 +906,7 @@ int aec_buffer_encode(struct aec_stream *strm)
if
(
status
!=
AEC_OK
)
return
status
;
status
=
aec_encode
(
strm
,
AEC_FLUSH
);
if
(
strm
->
avail_in
>
0
||
strm
->
avail_out
==
0
)
if
(
strm
->
avail_in
>
0
)
status
=
AEC_DATA_ERROR
;
aec_encode_end
(
strm
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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