diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-07-10 09:31:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-20 04:43:41 +0200 |
commit | c5c141bc699f9b6f2e5613bc826b0943b70e1011 (patch) | |
tree | b661e4327e8d718b9a8cba86386244048a290594 /libavformat/astenc.c | |
parent | 6c98d5e7c83f18f8e9b65c0214d5593c0436a473 (diff) | |
download | ffmpeg-c5c141bc699f9b6f2e5613bc826b0943b70e1011.tar.gz |
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: libav-stable@libav.org
(cherry picked from commit 86eee85daddb682fa072c2e2657c90a514b855e3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/astenc.c')
0 files changed, 0 insertions, 0 deletions