Fork of FFmpeg for xenia's usage. Branched from latest release. On changes use a git rebase strategy when applicable!
Go to file
Martin Storsjö 14f063d294 mem: Consistently return NULL for av_malloc(0)
Plain POSIX malloc(0) is allowed to return either NULL or a
non-NULL pointer. The calling code should be ready to handle
a NULL return as a correct return (instead of a failure) if the size
to allocate was 0 - this makes sure the condition is handled
in a consistent way across platforms.

This also avoids calling posix_memalign(&ptr, 32, 0) on OS X,
which returns an invalid pointer (a non-NULL pointer that causes
crashes when passed to av_free).

Abort in debug mode, to help track down issues related to
incorrect handling of this case.

Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-10 11:56:42 +03:00
doc avutil: add av_get_packed_sample_fmt() and av_get_planar_sample_fmt() 2012-04-08 15:13:28 -04:00
libavcodec lavc doxy: add all installed headers to doxy groups. 2012-04-09 21:25:17 +02:00
libavdevice cosmetics: Consistently place static, inline and av_cold attributes/keywords. 2012-04-04 14:54:13 +02:00
libavfilter vf_overlay: implement poll_frame() 2012-04-09 21:30:21 +02:00
libavformat rtsp: Don't use av_malloc(0) if there are no streams 2012-04-08 15:51:33 +03:00
libavutil mem: Consistently return NULL for av_malloc(0) 2012-04-10 11:56:42 +03:00
libswscale ppc: Add/remove a number of const qualifiers to fix related warnings. 2012-04-09 20:39:33 +02:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests fate: add BMP tests. 2012-04-04 11:16:23 -07:00
tools Fix a bunch of common typos. 2012-03-09 22:02:49 +01:00
.gitignore Ignore generated files below doc/. 2012-03-25 11:46:15 +02:00
avconv.c avconv: allow '-async -1' to disable timestamp sync for audio encoding 2012-04-09 13:47:11 -04:00
avplay.c avplay: Don't try to scale timestamps if the tb isn't set 2012-04-06 20:49:23 +03:00
avprobe.c Mark mutable static data const where appropriate. 2012-02-21 09:47:07 -08:00
avserver.c Replace memset(0) by zero initializations. 2012-03-28 09:38:33 +02:00
Changelog avconv: drop support for building without libavfilter. 2012-04-06 20:21:07 +02:00
cmdutils_common_opts.h avtools: add -v as alias for -loglevel 2011-10-09 16:53:06 +01:00
cmdutils.c Read preset files with suffix .avpreset 2012-03-18 09:26:32 +01:00
cmdutils.h Read preset files with suffix .avpreset 2012-03-18 09:26:32 +01:00
common.mak build: remove unnecessary FFLDFLAGS variable 2011-07-11 11:39:04 +01:00
configure avconv: drop support for building without libavfilter. 2012-04-06 20:21:07 +02:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
Doxyfile Fix a bunch of platform name and other typos. 2012-01-11 13:48:30 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak build: Only clean the architecture subdirectory we build for. 2012-03-26 13:29:03 +02:00
LICENSE Remove libpostproc. 2012-02-23 19:36:16 +01:00
Makefile build: Only clean the architecture subdirectory we build for. 2012-03-26 13:29:03 +02:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Prepare for 0.8 Release 2012-01-21 14:54:31 +01:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

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

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.