7a2ee770f520ae4fd5f009cfc361a18e993dec91
Fix an undefined behaviour and make the function return a proper
error in case of overflow.
CC: libav-stable@libav.org
(cherry picked from commit d9cf5f5169)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Libav README ------------ 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * See the LICENSE file.
Languages
C
90.9%
Assembly
7.2%
Makefile
1.3%
C++
0.2%
Objective-C
0.2%
Other
0.1%