No description
Find a file
Martin Storsjö e360ada2d1 aviobuf: Write new data at s->buf_end in fill_buffer
In most cases, s->buf_ptr will be equal to s->buf_end when
fill_buffer is called, but this may not always be the case, if
we're seeking forward by reading (permitted by the short seek
threshold).

If fill_buffer is writing to s->buf_ptr instead of s->buf_end (when
they aren't equal and s->buf_ptr is ahead of s->buffer), the data
between s->buf_ptr and s->buf_end is overwritten, leading to
inconsistent buffer content. This could return incorrect data if
later seeking back into the area before the current s->buf_ptr.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-02 11:16:17 +01:00
doc
ffpresets
libavcodec
libavdevice
libavfilter
libavformat aviobuf: Write new data at s->buf_end in fill_buffer 2011-03-02 11:16:17 +01:00
libavutil
libpostproc
libswscale
tests
tools
.gitignore
Changelog
cmdutils.c
cmdutils.h
cmdutils_common_opts.h
common.mak
configure
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Doxyfile
ffmpeg.c
ffplay.c
ffprobe.c
ffserver.c
ffserver.h
INSTALL
LICENSE
MAINTAINERS
Makefile
README
subdir.mak
version.sh

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.