projects
/
platform
/
upstream
/
libaec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59791f6
)
zero avail_out is legal after buffer_encode
author
Mathis Rosenhauer
<rosenhauer@dkrz.de>
Wed, 5 Dec 2012 14:35:21 +0000
(15:35 +0100)
committer
Thomas Jahns
<jahns@dkrz.de>
Tue, 19 Feb 2013 10:33:02 +0000
(11:33 +0100)
src/encode.c
patch
|
blob
|
history
diff --git
a/src/encode.c
b/src/encode.c
index
44ffcaf
..
4b4f237
100644
(file)
--- a/
src/encode.c
+++ b/
src/encode.c
@@
-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);