Xi Wang f8d3bb8961 flacdec: simplify bounds checking in flac_probe()
Simplify `p->buf > p->buf + p->buf_size - 4' as `p->buf_size < 4'.
Avoid a possible out-of-bounds pointer, which is undefined behavior
in C.

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 8425d693eefbedbb41f91735614d41067695aa37)
2013-05-09 11:29:05 +02:00
2013-02-02 09:59:21 +01:00
2013-05-09 11:20:10 +02:00
2011-06-16 20:24:57 +02:00
2011-03-16 21:54:39 +01:00
2011-07-03 20:01:08 +02:00
2012-10-06 09:40:28 +02:00
2011-06-16 20:24:57 +02:00
2011-05-21 13:48:10 +02:00
2011-04-07 02:54:12 +02:00
2013-05-09 11:20:11 +02:00

Libav README
------------

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.
Description
No description provided
Readme 209 MiB
Languages
C 90.4%
Assembly 7.7%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.1%