Commit 3a6b42c1 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer
Browse files

Fail if output buffer cannot be completely filled with selected type.

parent fb09e8ce
......@@ -804,6 +804,9 @@ int aec_decode(struct aec_stream *strm, int flush)
struct internal_state *state = strm->state;
int status;
if (strm->avail_out % strm->state->bytes_per_sample)
strm->total_in += strm->avail_in;
strm->total_out += strm->avail_out;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment