mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-07-22 10:53:23 +00:00
e360ada2d13af36ab7afd9ebcd2bd236d23d9b96
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>
FFmpeg README ------------- 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * See the LICENSE file.
Description
MIRROR: FFmpeg is a collection of libraries and tools to process multimedia content
267 MiB
Languages
C
89%
Assembly
8.4%
Makefile
1.4%
GLSL
0.4%
C++
0.3%
Other
0.2%