FFmpeg git repo
Go to file
Paweł Hajdan, Jr 1d81f7448c dict.c: use av_mallocz instead of av_realloc
Memory passed to av_realloc must come from malloc,
calloc or realloc, and not e.g. memalign. realloc(3):

The realloc() function changes the size of the memory block pointed to
by ptr to size bytes. (...) Unless ptr is NULL, it must have been
returned by an earlier call to malloc(), calloc() or realloc().

The issue has been found by debugallocation, a part of google-perftools:
http://code.google.com/p/gperftools/ .

This makes fate pass when using LD_PRELOAD-ed debugallocation.

See also earlier discussion
http://ffmpeg.org/pipermail/ffmpeg-devel/2013-January/137234.html

Signed-off-by: Paweł Hajdan, Jr <phajdan@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-29 20:23:02 +01:00
compat
doc ffmpeg: remove -crop* and -pad* options 2013-01-27 16:56:47 +01:00
libavcodec huffyuvdec: Skip len==0 cases 2013-01-29 19:11:28 +01:00
libavdevice lavd/v4l2: use avcodec_find_decoder in list_formats 2013-01-28 00:11:49 +01:00
libavfilter Merge remote-tracking branch 'qatar/master' 2013-01-29 14:58:49 +01:00
libavformat r3d: check that sampling rate is non negative. 2013-01-29 17:13:45 +01:00
libavresample
libavutil dict.c: use av_mallocz instead of av_realloc 2013-01-29 20:23:02 +01:00
libpostproc
libswresample
libswscale Merge commit '05b0998f511ffa699407465d48c7d5805f746ad2' 2013-01-28 14:11:31 +01:00
presets
tests swscale: GBRP output support 2013-01-27 15:28:07 -05:00
tools
.gitignore
arch.mak
Changelog
cmdutils_common_opts.h
cmdutils.c
cmdutils.h
common.mak
configure
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_filter.c
ffmpeg_opt.c ffmpeg: remove -crop* and -pad* options 2013-01-27 16:56:47 +01:00
ffmpeg.c ffmpeg: implement -force_key_frames expression evalution 2013-01-27 16:56:47 +01:00
ffmpeg.h ffmpeg: implement -force_key_frames expression evalution 2013-01-27 16:56:47 +01:00
ffplay.c
ffprobe.c
ffserver.c
INSTALL
library.mak
LICENSE
MAINTAINERS
Makefile
README
RELEASE
version.sh

FFmpeg README
-------------

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

* Read the documentation in the doc/ directory in git.
  You can also view it online at http://ffmpeg.org/documentation.html

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

* See the LICENSE file.

3) Build and Install
--------------------

* See the INSTALL file.