| Branch: | Revision:

ffmpeg / libavutil / mem.h @ 08675bb3

History | View | Annotate | Download (4.66 KB)

# Date Author Comment
ffb5a0d5 04/30/2011 10:26 PM Michael Niedermayer

Merge commit '85770f2a2651497861ed938efcd0df3696ff5e45'

  • commit '85770f2a2651497861ed938efcd0df3696ff5e45':
    AVOptions: make default_val a union, as proposed in AVOption2.
    Move ff_dynarray_add to lavu and make it public.
    lavf: remove duplicate assignment in avformat_alloc_context....
35ceaa73 04/29/2011 03:34 PM Anton Khirnov

Move ff_dynarray_add to lavu and make it public.

efb5fa79 04/20/2011 02:48 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (37 commits)
    In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function.
    lavc: remove reference to opt.h from Makefile.
    prefer avio_check() over url_exist()...
490a022d 04/19/2011 05:04 PM Anton Khirnov

lavu: remove misc disabled cruft

2fd41c90 03/24/2011 01:16 AM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

  • newdev/master:
    avio: make udp_set_remote_url/get_local_port internal.
    asfdec: also subtract preroll when reading simple index object
    matroskaenc: remove a variable that's unused after bc17bd9.
    avio: cosmetics - nicer vertical alignment....
820818a3 03/23/2011 12:39 PM Mans Rullgard

Remove unnecessary icc version checks

With unknown attribute warnings disabled, these checks are no
longer needed. Removing them improves readability while having
no effect on generated code.

Signed-off-by: Mans Rullgard <>

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

d667be2c 03/02/2011 11:25 PM Carl Eugen Hoyos

Attribute used is correctly supported by the Intel C compiler since version 11.1.

a5b13b14 03/02/2011 12:38 PM Carl Eugen Hoyos

Use macro __INTEL_COMPILER instead of __ICC.

__ICC is not supported on all platforms, this is an Intel documentation
bug that is supposed to be fixed in a future release.
(Intel issue 612289)

0374152f 01/31/2011 05:25 PM Mans Rullgard

Rename attribute_used to av_used and move it to attributes.h

This is consistent with most of the other attribute macros.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 365e3c7878e4e821d5dec922d2d51f92ce13f926)

365e3c78 01/31/2011 04:01 PM Mans Rullgard

Rename attribute_used to av_used and move it to attributes.h

This is consistent with most of the other attribute macros.

Signed-off-by: Mans Rullgard <>

0328b9ea 12/22/2010 02:13 PM Stefano Sabatini

Add av_file_map() and av_file_unmap() functions.

Originally committed as revision 26073 to svn://

b47541c7 12/04/2010 04:00 AM Michael Niedermayer

Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavutil.

Originally committed as revision 25871 to svn://

086e997e 11/10/2010 12:45 PM Carl Eugen Hoyos

Intel C compiler 12.0 does not suport these attributes: may_alias, force_align_arg_pointer and alloc_size.

Originally committed as revision 25716 to svn://

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

Originally committed as revision 23904 to svn://

276fc8a4 06/26/2010 06:14 PM Måns Rullgård

Add missing avutil.h include to libavutil/mem.h

Originally committed as revision 23803 to svn://

ed00fe49 06/16/2010 10:35 AM Carl Eugen Hoyos

icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.

Originally committed as revision 23624 to svn://

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

Originally committed as revision 22921 to svn://

2ed6f399 03/09/2010 05:39 PM Måns Rullgård

Replace many includes of libavutil/common.h with what is actually needed

This reduces the number of false dependencies on header files and
speeds up compilation.

Originally committed as revision 22407 to svn://

84dc2d8a 03/06/2010 02:24 PM Måns Rullgård

Remove DECLARE_ALIGNED_{8,16} macros

These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.

Originally committed as revision 22233 to svn://

4b9905d1 03/06/2010 12:40 PM Måns Rullgård

Move DECLARE_ALIGNED_{8,16} macros to mem.h

These macros naturally belong next to the generic DECLARE_ALIGNED

Originally committed as revision 22230 to svn://

34e52abb 01/22/2010 03:25 AM Måns Rullgård

DECLARE_ALIGNED macro for TMS470 compiler

This compiler supports gcc-style alignment attributes for struct,
but not for global variables. For the latter, alignment can be
specified with a pragma, which does not work for struct members or
local variables. By using both pragma and attribute, one or the...

8a24e98d 01/21/2010 12:59 PM Måns Rullgård

Make DECLARE_ALIGNED macros work with external array specifiers

The macro implementation might need the name of the variable being
declared for compiler-specific syntax. Moving array specifiers outside
the macro invocation allows this to work.

Originally committed as revision 21363 to svn://

702d0a9e 01/01/2010 12:28 PM Stefano Sabatini

Remove residual use of the doxygen markup which is deprecated,
consistent with r19122.

Originally committed as revision 20989 to svn://

16c2e214 07/09/2009 02:20 AM Ramiro Polla

Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h to

Originally committed as revision 19384 to svn://

06be9d9d 06/27/2009 08:34 AM Carl Eugen Hoyos

Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.

Originally committed as revision 19282 to svn://

bf7e799c 06/06/2009 09:35 AM Stefano Sabatini

Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
improve plain text doxy readability.

See the thread: "[RFC] Should we use doxygen markup?".

Originally committed as revision 19122 to svn://

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 16912 to svn://

89c9ff50 01/28/2009 12:16 AM Diego Biurrun

spelling/grammar/consistency review part I

Originally committed as revision 16840 to svn://

4ce94923 01/25/2009 07:18 PM Diego Biurrun

Their definition depends on preprocessor directives from config.h,
thus they cannot be declared in a public header since public headers
cannot #include config.h.

Originally committed as revision 16781 to svn://

dfcb6b56 01/24/2009 02:55 PM Diego Biurrun

Directly #include a bunch of indirectly #included headers.

Originally committed as revision 16748 to svn://

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://

af4c0bcb 12/21/2008 10:51 PM Carl Eugen Hoyos

Silence the following icc warnings:
warning #1292: attribute "force_align_arg_pointer" ignored
warning #1292: attribute "alloc_size" ignored
warning #1292: attribute "cold" ignored

Originally committed as revision 16258 to svn://

52476c1b 12/20/2008 05:33 PM Carl Eugen Hoyos

Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.

Originally committed as revision 16246 to svn://

aaa0df02 10/02/2008 10:47 AM Carl Eugen Hoyos

Allow using DECLARE_ALIGNED with Sun cc.

Originally committed as revision 15509 to svn://

98790382 08/31/2008 07:39 AM Stefano Sabatini

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_"....

40c13fec 06/05/2008 07:49 PM Måns Rullgård

alloc_size attribute is new to gcc 4.3; don't use it with lesser versions

Originally committed as revision 13665 to svn://

d326dd97 06/03/2008 10:10 PM Rafaël Carré

Fix embarassing GNU vs. GNUC typo in preprocessor condition.
patch by Rafaël Carré, funman videolan org

Originally committed as revision 13652 to svn://

e6e70d9b 03/19/2008 07:43 AM Zuxy Meng

Cosmetic change: remove the whitespace after 'defined'

Originally committed as revision 12501 to svn://

0fd48fac 03/19/2008 07:42 AM Zuxy Meng

'malloc' attribute isn't supported in old gcc.

Originally committed as revision 12500 to svn://

cca6d953 03/19/2008 07:30 AM Zuxy Meng

Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz

Originally committed as revision 12499 to svn://

85074d3c 03/19/2008 06:17 AM Zuxy Meng

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://

2119bb8f 03/18/2008 04:29 PM Benoit Fouet

revert r12489.

Originally committed as revision 12490 to svn://

6544f48f 03/18/2008 03:27 PM Zuxy Meng

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://

c123486e 03/08/2008 08:30 PM Diego Biurrun

#error in case we do not know how to provide alignment.

Originally committed as revision 12382 to svn://

a02dd7eb 02/25/2008 06:32 PM Eddie Pang

Fix MSVC identification, patch by Eddie Pang.

Originally committed as revision 12218 to svn://

4fa1f6cc 02/25/2008 06:25 PM Michael Niedermayer

Make code C conformant.

Originally committed as revision 12217 to svn://

4bfc91a0 02/25/2008 02:53 PM Diego Biurrun

cosmetics: prettyprint

Originally committed as revision 12213 to svn://

5cbd67ea 02/20/2008 06:48 PM Eddie Pang

10l: Correctly use preprocessor conditionals.
patch by Eddie Pang, eddpang gmail com

Originally committed as revision 12159 to svn://

7cb1fc76 02/13/2008 08:36 AM Diego Biurrun


Originally committed as revision 11919 to svn://

b89bb858 02/13/2008 08:33 AM Diego Biurrun

Mark MSVC compiler macros as such.

Originally committed as revision 11918 to svn://

7433ca29 02/13/2008 08:08 AM Diego Biurrun

Disentangle nested preprocessor directives.

Originally committed as revision 11917 to svn://

7ce3e4a8 02/09/2008 08:47 PM Carl Eugen Hoyos

Allow compilation with icc 10.1.

Originally committed as revision 11889 to svn://

766324fc 01/27/2008 08:50 PM Reimar Döffinger

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://

0ee97f0d 11/02/2007 07:48 PM Stefano Sabatini

Doxyfication, patch by Stefano Sabatini stefano P sabatini-lala A poste P it

Originally committed as revision 10906 to svn://

22baf42c 11/01/2007 11:51 AM Stefano Sabatini

doxy/cosmetics fixes. Patch by Stefano Sabatini %stefano P sabatini-lala A posteP it %

Originally committed as revision 10893 to svn://

5b21bdab 10/17/2007 09:37 AM Diego Biurrun

Add FFMPEG_ prefix to all multiple inclusion guards.

Originally committed as revision 10765 to svn://

8a2d973d 10/15/2007 11:07 PM Diego Biurrun

misc Doxygen spelling/grammar fixes

Originally committed as revision 10754 to svn://

d3de3ee2 09/09/2007 01:23 PM Stefano Sabatini

Document libavutil/mem.h:av_strdup.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10456 to svn://

792098c2 03/12/2007 02:45 PM Panagiotis Issaris

Move the memory related functions out of common.h into their own header file

Originally committed as revision 8342 to svn://