diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-01-24 13:06:19 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-01-28 16:28:10 +0100 |
commit | 3c18a7b18807de81566381a1bcbe9f6103c0296b (patch) | |
tree | 877220f504d48e3d9ace5e1421a0e12c6ac6ad1a /libavutil/camellia.c | |
parent | 6a808f5ae17f1fcdbcfb18055872c12aef70ffff (diff) | |
download | ffmpeg-3c18a7b18807de81566381a1bcbe9f6103c0296b.tar.gz |
avio: Do not consider the end-of-buffer position valid
Trigger a refill if the seek action moves the pointer
at the end of the buffer.
Before this patch the read action following the seek would trigger
the refill, while write action would write outside the buffer.
In the Libav codebase few muxers seek forward outside of what
already has been written so it is quite unlikely to experience
the problem with the default buffer size.
CC: libav-stable@libav.org
Diffstat (limited to 'libavutil/camellia.c')
0 files changed, 0 insertions, 0 deletions