Herve W a949360163 * Allocating 16 bytes more for the MEMALIGN_HACK is enough. There's no
need for 1 more extra byte.

* Checking whether the to be allocated size is larger than INT_MAX,
doesn't assure that size+16 bytes for the MEMALIGN_HACK isn't larger
than INT_MAX.

* malloc might return NULL. Checking for it before using that pointer
seems like a good idea.
Patch by Herve W. H PPP O PPP W PPP aka PPP V+ffmpeg AH gmail PPP com
Original thread:
Date: Jun 29, 2006 1:21 PM
Subject: [Ffmpeg-devel] [PATCH] minor improvements to libavcodec/mem.c

Originally committed as revision 5559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 08:00:01 +00:00
2006-06-15 21:33:39 +00:00
2005-09-11 11:10:25 +00:00
2006-06-29 23:47:50 +00:00
2003-09-15 22:26:45 +00:00
2006-06-24 09:57:28 +00:00
2006-06-25 16:12:27 +00:00
2006-02-04 11:37:41 +00:00
2006-04-29 16:17:50 +00:00

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

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

* Read the documentation in the doc/ directory.

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

* Read the file COPYING. ffmpeg and the associated libraries EXCEPT
  liba52 and libpostproc are licensed under the Lesser GNU General
  Public License.

* liba52 and libpostproc are distributed under the GNU General Public
  License and their compilation and use is optional in ffmpeg.

Fabrice Bellard.
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%