aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qt-faststart.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-07-10 09:31:24 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-28 02:42:16 +0200
commitabe503329de0cdd988ba45e19aa72383fce23f8b (patch)
tree561db282c6fad3d7b03eb220b11391b17f8b8ed2 /tools/qt-faststart.c
parent80e091853d1e6ea2bcbc1972b87ce662f9eefff5 (diff)
downloadffmpeg-abe503329de0cdd988ba45e19aa72383fce23f8b.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 'tools/qt-faststart.c')
0 files changed, 0 insertions, 0 deletions