Commit Graph

505 Commits

Author SHA1 Message Date
Michael Niedermayer 19757f6169 indent
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:37:52 +00:00
Michael Niedermayer fdf35f265a make av_strdup(NULL) return NULL
Originally committed as revision 13250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:37:32 +00:00
Diego Biurrun c38e75fc52 Add required stdint.h header.
Originally committed as revision 13096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:10:20 +00:00
Ramiro Polla 40d0e665d0 Do not misuse long as the size of a register in x86.
typedef x86_reg as the appropriate size and use it instead.

Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 21:11:24 +00:00
Diego Biurrun ccd425e799 Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Diego Biurrun 91605c69fb minor wording fix
Originally committed as revision 13068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:41:13 +00:00
Diego Biurrun e4a957d1a7 minor spelling fix
Originally committed as revision 13066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:03:30 +00:00
Måns Rullgård 7c43009358 add necessary #includes in headers
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:39 +00:00
Baptiste Coudurier b842ecbefc add FFMIN3
Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:47:02 +00:00
Stefano Sabatini 95a6a015e3 Enhance documentation for AVClass
Patch by Stefano Sabatini stefanodotsabatini-lalaatpostedotit

Originally committed as revision 12934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 10:13:38 +00:00
Vladimir Voroshilov 159ef4b02a Implement FFMAX3(a,b,c) - maximum over three arguments.
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 17:07:58 +00:00
Diego Biurrun 93826f561d Fix des-test compilation.
Originally committed as revision 12889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 07:05:49 +00:00
Diego Biurrun c88c253d8b cosmetics: __asm__ __volatile__ --> asm volatile
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 21:57:52 +00:00
Stefano Sabatini 07c37ca7fc remove useless extern keyword.
patch by Stefano Sabatini: stefano sabatini-lala poste it

Originally committed as revision 12790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 14:18:33 +00:00
Benoit Fouet 95c76e1180 cosmetics (by Björn Axelsson)
Originally committed as revision 12774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 11:36:50 +00:00
Björn Axelsson 49cec1998a Add a generic write function to av_fifo.
Patch by Björn Axelsson: bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [RFC][PATCH] av_fifo_write_from_bytestream()
Date: 04/03/2008 12:14 PM

Originally committed as revision 12773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 11:35:16 +00:00
Måns Rullgård 71c61f62a3 non-recursive makefiles
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Michael Niedermayer 4764fdc987 simplify
Originally committed as revision 12755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-05 10:52:27 +00:00
Michael Niedermayer ed0d3048c0 Merge declaratio and initialization.
Originally committed as revision 12677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:20:32 +00:00
Michael Niedermayer 11362767b8 Merge declaration and initialization.
Originally committed as revision 12676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:18:14 +00:00
Alexander Strange df22c35dfb Split MANGLE macro into LOCAL_MANGLE AND EXTERN_PREFIX parts
so that LOCAL_MANGLE can be used without EXTERN_PREFIX.
patch by Alexander Strange, astrange ithinksw com

Originally committed as revision 12558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 18:15:12 +00:00
Zuxy Meng 98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Måns Rullgård 3540b950ec add missing #include "common.h" to libavutil headers
Originally committed as revision 12502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 08:47:31 +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
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