diff options
author | Anton Khirnov <[email protected]> | 2015-07-10 09:31:24 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-07-20 04:43:41 +0200 |
commit | c5c141bc699f9b6f2e5613bc826b0943b70e1011 (patch) | |
tree | b661e4327e8d718b9a8cba86386244048a290594 /doc/examples/filtering_audio.c | |
parent | 6c98d5e7c83f18f8e9b65c0214d5593c0436a473 (diff) |
bytestream2: set the reader to the end when reading more than available
This prevents possible infinite loops with the calling code along the
lines of while (bytestream2_get_bytes_left()) { ... }, where the reader
does not advance.
CC: [email protected]
(cherry picked from commit 86eee85daddb682fa072c2e2657c90a514b855e3)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc/examples/filtering_audio.c')
0 files changed, 0 insertions, 0 deletions