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
Måns Rullgård
3662d880ed
32/64-bit agnostic x86 bswap
...
Originally committed as revision 12496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 22:28:33 +00:00
Måns Rullgård
70fa2e27ec
cosmetics: sanitise asm() statements in bswap.h
...
Originally committed as revision 12494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 20:52:37 +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
Måns Rullgård
b4d96ba2a8
check for prefix on extern symbols in configure
...
Originally committed as revision 12484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 02:01:20 +00:00
Måns Rullgård
3c9bcb42cf
add REGd definition
...
Originally committed as revision 12481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:17 +00:00
Diego Biurrun
08e89160e4
cosmetics: indentation
...
Originally committed as revision 12471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:39 +00:00
Diego Biurrun
edfd6975cf
Simplify MANGLE macro preprocessor condition checks.
...
Originally committed as revision 12470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:11 +00:00
İsmail Dönmez
8e9ccb6c7e
Fix MANGLE macro on Mac OS X.
...
Allows compiling a 64 bit FFmpeg on Mac OS X without using --disable-mmx.
patch by İsmail Dönmez ismail namtrac org
Originally committed as revision 12468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 07:49:03 +00:00
Diego Biurrun
768a920572
#include stddef.h instead of sys/types.h, the former is a standard C header.
...
Originally committed as revision 12435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:30:07 +00:00
Diego Biurrun
32573a74bf
#include stdint.h instead of inttypes.h like all libavutil headers do.
...
Originally committed as revision 12433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:17:03 +00:00
Diego Biurrun
a087028ad8
Add #include "config.h" to headers that need it.
...
Originally committed as revision 12431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:04:21 +00:00
Diego Biurrun
6ef2912879
Add missing stdint.h #include to headers that use it.
...
Originally committed as revision 12429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 00:20:15 +00:00
Diego Biurrun
2cab640129
typo fixes
...
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:58:46 +00:00
Diego Biurrun
7ce6892373
misc spelling fixes
...
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +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
Måns Rullgård
6bd859d67e
check for x86 bswap instruction
...
Originally committed as revision 12375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:33:07 +00:00
Diego Biurrun
9b25f4a65f
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
...
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:39:43 +00:00
Måns Rullgård
0e32c8c65a
simplify library version handling
...
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Reimar Döffinger
7e14b8082d
Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but
...
SunStudio 12 only supports the former.
Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 17:01:35 +00:00
Måns Rullgård
2e98d87cfc
simplify lzo-test rule
...
Originally committed as revision 12269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 21:38:36 +00:00
Måns Rullgård
800c289a66
less preprocessor magic in version number macros
...
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:37:59 +00:00
Peter Ross
fe0c188b4a
This header just needs stdint.h, not inttypes.h, which is a superset of
...
stdint.h. This has the sideeffect of fixing the build on Interix.
patch by Pete Ross, pross xvid org
Originally committed as revision 12225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:12:55 +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
Måns Rullgård
e97ac1e6f5
Clean up lib* version definitions
...
Updating version numbers now requires changing only one place.
Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Diego Biurrun
27af15dc5c
prettyprinting cosmetics
...
Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 14:58:18 +00:00
avcoder
90d30570d8
Avoid void*-arithmetic.
...
Patch by mvplayer: ffmpeg gmail com
Originally committed as revision 11932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-14 08:16:07 +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
Michael Niedermayer
f522310b6d
Missing const found by -Wwrite-strings.
...
Originally committed as revision 11838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:56:13 +00:00
Reimar Döffinger
5e038b4f08
LZO decoder input is const
...
Originally committed as revision 11797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:30:51 +00:00
Michael Niedermayer
ff794171c9
Do not cast const away.
...
Originally committed as revision 11707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:14:50 +00:00
Michael Niedermayer
89ef2c29a0
Merge declaration and initialization.
...
Originally committed as revision 11701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:49 +00:00
Michael Niedermayer
070144671d
Dont cast const away.
...
Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:16 +00:00
Michael Niedermayer
b8fe8ab062
Fix the following using void* casts, proper casts are less readable and
...
avoiding casts would be even less readable, but other suggestions are welcome.
lls.c:56: warning: initialization from incompatible pointer type
lls.c:57: warning: initialization from incompatible pointer type
Originally committed as revision 11697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 20:52:14 +00:00
Michael Niedermayer
59abc29e69
fixing warning
...
md5.c:150: warning: passing argument 2 of 'av_md5_update' from incompatible pointer type
Originally committed as revision 11665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 04:50:09 +00:00
Benoit Fouet
dd670dedf9
Remove integer.h inclusion.
...
Originally committed as revision 11654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 17:23:57 +00:00
Diego Biurrun
bca9e0bcf1
Move common test program infrastructure to common.mak.
...
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:28:56 +00:00
Diego Biurrun
fe34942e92
Move some lines in preparation for an upcoming commit.
...
Originally committed as revision 11644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:27:13 +00:00
Diego Biurrun
4942a0e8ee
Add Makefile rules for test programs.
...
Originally committed as revision 11643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 22:39:30 +00:00
Diego Biurrun
cff7ccdd44
Do not install integer.h, it is not part of the public API.
...
Originally committed as revision 11642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 21:03:54 +00:00