Commit Graph

25 Commits

Author SHA1 Message Date
Stefano Sabatini 987903826b Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Måns Rullgård 40c13fecfa alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:49:47 +00:00
Rafaël Carré d326dd9797 Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.
patch by Rafaël Carré, funman videolan org

Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 22:10:53 +00:00
Zuxy Meng e6e70d9bdc Cosmetic change: remove the whitespace after 'defined'
Originally committed as revision 12501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:43:43 +00:00
Zuxy Meng 0fd48faca5 'malloc' attribute isn't supported in old gcc.
Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:42:50 +00:00
Zuxy Meng cca6d953c2 Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz
Originally committed as revision 12499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:30:34 +00:00
Zuxy Meng 85074d3c93 Reapply r12489: Add pure, const and malloc attributes to proper functions
in libavutil.
Fix a compilation failure in r12489.

Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 06:17:43 +00:00
Benoit Fouet 2119bb8f51 revert r12489.
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 16:29:47 +00:00
Zuxy Meng 6544f48f03 Pure, const and malloc attributes to libavutil.
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM

Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 15:27:15 +00:00
Diego Biurrun c123486e44 #error in case we do not know how to provide alignment.
Originally committed as revision 12382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:30:15 +00:00
Eddie Pang a02dd7ebdd Fix MSVC identification, patch by Eddie Pang.
Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 18:32:55 +00:00
Michael Niedermayer 4fa1f6cc5c Make code C conformant.
Originally committed as revision 12217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 18:25:49 +00:00
Diego Biurrun 4bfc91a07b cosmetics: prettyprint
Originally committed as revision 12213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:53:55 +00:00
Eddie Pang 5cbd67ea43 10l: Correctly use preprocessor conditionals.
patch by Eddie Pang, eddpang gmail com

Originally committed as revision 12159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 18:48:49 +00:00
Diego Biurrun 7cb1fc766b Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:36:04 +00:00
Diego Biurrun b89bb8581d Mark MSVC compiler macros as such.
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:33:05 +00:00
Diego Biurrun 7433ca2982 Disentangle nested preprocessor directives.
Originally committed as revision 11917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:08:03 +00:00
Carl Eugen Hoyos 7ce3e4a882 Allow compilation with icc 10.1.
Originally committed as revision 11889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 20:47:11 +00:00
Reimar Döffinger 766324fc49 Add and use DECLARE_ASM_CONST for constants used in assembler code.
Should make it easier to work around compilation problems with e.g. ICC.

Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:50:16 +00:00
Stefano Sabatini 0ee97f0d3f Doxyfication, patch by Stefano Sabatini %stefano P sabatini-lala A poste P it%
Originally committed as revision 10906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-02 19:48:13 +00:00
Stefano Sabatini 22baf42c83 doxy/cosmetics fixes. Patch by Stefano Sabatini %stefano P sabatini-lala A posteP it %
Originally committed as revision 10893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 11:51:51 +00:00
Diego Biurrun 5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun 8a2d973dfc misc Doxygen spelling/grammar fixes
Originally committed as revision 10754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 23:07:03 +00:00
Stefano Sabatini d3de3ee2bd Document libavutil/mem.h:av_strdup.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 13:23:34 +00:00
Panagiotis Issaris 792098c2ec Move the memory related functions out of common.h into their own header file
mem.h.

Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:45:49 +00:00