mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-07 22:55:27 +01:00
22c27e1f4a6ff3d8d0409b30c8a9edb689ffdeaa
The check `src > dst' in the form `&c->out[-back] > c->out' invokes
pointer overflow, which is undefined behavior in C.
Remove the check. Also replace `&c->out[-back] < c->out_start' with
a safe form `c->out - c->out_start < back' to avoid overflow.
CC: libav-stable@libav.org
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit ca6c3f2c53)
…
Libav README ------------ 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * See the LICENSE file.
Description
Languages
C
89.8%
Assembly
8.1%
Makefile
1.3%
C++
0.3%
Objective-C
0.2%
Other
0.1%