Commit Graph

65 Commits

Author SHA1 Message Date
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 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
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
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 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
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
Michael Niedermayer c448a09624 Faster ff_sqrt()
Originally committed as revision 11586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 13:33:18 +00:00
Diego Biurrun 59ec6991ac Disallow puts(), av_log() should be used instead.
Originally committed as revision 11548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:32:31 +00:00
Michael Kostylev a33cab3a9a Check for the presence of llrint(), lrint(), round() and roundf()
and provide simple replacements if they are unavailable.
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:53:02 +00:00
Diego Biurrun 52d086084e Remove outdated comment.
Originally committed as revision 11325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:42:46 +00:00
Michael Kostylev 4f365f37b5 djgpp port, first part
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-24 12:49:27 +00:00
Luca Abeni c5a2fe8f1f Generate a linking error if perror() is used in libav*
Originally committed as revision 11061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 10:40:11 +00:00
Luca Abeni 7f0cd6a529 Remove perror() usage from libavutil
Originally committed as revision 11057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 07:39:55 +00:00
Jeremy Mordkoff 4f9c008cd5 Fix typo.
Patch by Jeremy Mordkoff: jlm zazzletech com

Originally committed as revision 10812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 15:39:02 +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 c97f54020d Change SYS_DARWIN preprocessor checks to __APPLE__, they are specific
to Mac OS X rather than to Darwin.

Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:17:03 +00:00
Diego Biurrun 8008a04325 Move Apple gcc AltiVec vector declaration syntax to libavutil.
Originally committed as revision 10207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:04:00 +00:00
Diego Biurrun 9d16f87ffd Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Ramiro Polla 5e4c7ca224 Add attribute that forces alignment of stack to functions that need it.
Necessary for systems that don't align by default to 16 bytes, required by some
SSE instructions.
Requires GCC >= 4.2.
Based on patch by Gaël Chardon.

Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 15:28:29 +00:00
Måns Rullgård 318049b8ed move #include of system headers to top of file
Originally committed as revision 9646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:34:40 +00:00
Alex Beregszaszi 7eed4aef83 10l to Mans, assert is included later with proper DEBUG/NDEBUG ifdefs
Originally committed as revision 9636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 11:33:16 +00:00
Ramiro Polla 7c9dcd4bba Remove unnecessary MINGW ifdef.
These were added for MSVC++, which is no longer supported.

Originally committed as revision 9595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:50:59 +00:00
Ramiro Polla 36564c514c Remove MinGW lrint hack.
It has been in mingw-runtime at least since version 2.4

Originally committed as revision 9594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:44:50 +00:00
Ramiro Polla 7c37e504f0 Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:52:04 +00:00
Måns Rullgård 84662c01c9 undef forbidden names before we #define them in case they are macros in libc
Originally committed as revision 9545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 15:56:31 +00:00
Vitor Sessak 3299fb4523 Make error message more helpful and forbid random()
Originally committed as revision 9472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 05:02:47 +00:00
Diego Biurrun 224906414b Remove leading underscores from specifiers, they are reserved.
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Reimar Döffinger 272605c73e more av_strl* adjustments
Originally committed as revision 9412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:23:34 +00:00
Måns Rullgård 99545457bf include all prerequisites in header files
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:59:13 +00:00
Reimar Döffinger 6f74b71ef0 Part of MPlayer patch:
"Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization."
This is not yet done for ffmpeg when compiled within MPlayer.

Originally committed as revision 9225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 14:33:27 +00:00
Carl Eugen Hoyos 154e30f6c2 rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:32:25 +00:00
Michael Niedermayer 45221f7f61 reduce number of shifts
Originally committed as revision 8891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 22:35:56 +00:00
Michael Niedermayer fd735e4b77 simplify
Originally committed as revision 8890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 21:22:43 +00:00
Alex Beregszaszi 61bc79ec9c remove possibly broken wince cruft
Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-20 23:45:53 +00:00
Ramiro Polla 8c2e2040aa Add first and second output to earlyclobbers in COPY3_IF_LT macro.
patch by Ramiro Ribeiro Polla, ramiro lisha.ufsc br
Original thread:
date: Mar 27, 2007 11:21 PM
subject: [Ffmpeg-devel] [PATCH] fix build for --cpu=i686

Originally committed as revision 8604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 11:21:16 +00:00
Michael Niedermayer c367d06702 prevent exit missuse
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00
Michel Bardiaux 318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Michel Bardiaux bdb4b698d8 Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Ramiro Polla 5dff169489 remove fallback definitions of PRIxNN macros,
patch by Ramiro Polla ramiro =a= lisha =d= ufsc =d= br

Originally committed as revision 8118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 19:46:54 +00:00
François Revol ea65a753eb Remove unused ENODATA define
Originally committed as revision 7943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 22:07:06 +00:00
Luca Abeni 40628be0ed __attribute__((unused)) works with gcc 2.95 too
Originally committed as revision 7421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 11:11:49 +00:00
Måns Rullgård 849f10351d rename always_inline to av_always_inline and move to common.h
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:35:08 +00:00
Måns Rullgård a77caa4dc9 fix mingw shared build, and get rid of FF_IMPORT_ATTR
Originally committed as revision 7253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 19:27:00 +00:00
Måns Rullgård 8da9266cea use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:46:11 +00:00
Måns Rullgård cd10789691 move more macros to internal.h
Originally committed as revision 7239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:23:20 +00:00
Måns Rullgård 5403f8576b move some __attribute__ macros to internal.h
Originally committed as revision 7238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 21:27:08 +00:00