aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-07-10 09:31:24 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-20 04:43:41 +0200
commitc5c141bc699f9b6f2e5613bc826b0943b70e1011 (patch)
treeb661e4327e8d718b9a8cba86386244048a290594 /libavformat
parent6c98d5e7c83f18f8e9b65c0214d5593c0436a473 (diff)
downloadffmpeg-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')
0 files changed, 0 insertions, 0 deletions