Commit Graph

876 Commits

Author SHA1 Message Date
Måns Rullgård
d04d9e167e new attempt at portable endian test
Originally committed as revision 12437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 23:28:57 +00:00
Måns Rullgård
ccae51d5b9 hopefully portable endian test
Originally committed as revision 12436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 22:46:34 +00:00
Diego Biurrun
315c741d3d Move dependency generation commands into configure.
This will allow specifying gcc-independent commands in the future.

Originally committed as revision 12426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:30:35 +00:00
Alexander Strange
8b83d56893 Fix configure to properly build without PIC by default on Darwin
Patch by Alexander Strange (astrange ithinksw com)

Originally committed as revision 12425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:15:57 +00:00
Diego Biurrun
0138c54ec6 Use proper library versions instead of SPPVERSION in Darwin SHFLAGS.
Originally committed as revision 12423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 19:27:24 +00:00
Diego Biurrun
b7860763ca Clarify comment.
Originally committed as revision 12419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 22:59:05 +00:00
Diego Biurrun
13ca50f367 Rename --enable-swscaler --> enable-swscale to be consistent with the
directory name and other option names. Also rename variables accordingly.

Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 17:54:24 +00:00
Ramiro Polla
c234520736 VFW capture support
Originally committed as revision 12384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 22:10:28 +00:00
Diego Biurrun
4a24ab64b1 Rename pp variable to postproc for consistency.
Originally committed as revision 12376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:50:38 +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
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
Måns Rullgård
e3773a55be simplify processing of some --disable-* options
Originally committed as revision 12342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 19:56:54 +00:00
Aurelien Jacobs
241227d8a8 remove some unneeded artificial dependencies from configure
Originally committed as revision 12334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 14:50:42 +00:00
Måns Rullgård
22f8654776 Fix endian test with grep not handling non-text files
POSIX grep is not required to support non-text files.

Idea by Rich Felker.

Originally committed as revision 12304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 22:01:15 +00:00
Måns Rullgård
932ccf398a remove unnecessary backslashes
Originally committed as revision 12302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 21:48:24 +00:00
Vitor Sessak
81124ba0d1 Fix libavfilter compilation and make it more in line
with the other libav*.

Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 20:53:15 +00:00
Ramiro Polla
6548ff57c0 Force DOS users to enable memalign hack when needed,
the same way it's done for MinGW.

Originally committed as revision 12299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 17:06:48 +00:00
Benjamin Larsson
40bcf4c780 Support setting the debuglevel (-g level) with --enable-debug=#
Originally committed as revision 12298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 16:59:53 +00:00
Ramiro Polla
c6eed369d2 Use "disable" helper function
Originally committed as revision 12291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-02 20:13:47 +00:00
İsmail Dönmez
8541cc274c Do not add deprecated -no-cpp-precomp to CFLAGS on Darwin.
patch by İsmail Dönmez, ismail namtrac org

Originally committed as revision 12285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 11:56:09 +00:00
Diego Biurrun
2c62e737f4 Add empty line in output to increase readability.
Originally committed as revision 12271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 22:41:14 +00:00
Måns Rullgård
61d251dbc0 check for inline asm support
Originally committed as revision 12270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 22:06:48 +00:00
Måns Rullgård
9342080973 fix version in libavfilter.pc
Originally committed as revision 12267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 21:27:42 +00:00
Måns Rullgård
f436a23e59 fix versions in .pc files
Originally committed as revision 12264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 09:32:09 +00:00
Måns Rullgård
a6601d69bb fix libavfilter version extraction
Originally committed as revision 12260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 09:25:38 +00:00
Michael Niedermayer
b2eb2ff098 Make gcc ignore the distinction between +0.0 and -0.0, this allows it to
change x+0.0 to x. Though it alone does not allow gcc to remove x*0.0,
that would also require -ffinite-math-only.

Originally committed as revision 12252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 22:01:11 +00:00
Måns Rullgård
f65c9da140 print enabled things in columns
Originally committed as revision 12251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:50:06 +00:00
Vitor Sessak
3cde40aaa4 10l, alphabetic ordering
Originally committed as revision 12250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:34:13 +00:00
Vitor Sessak
f7679c54dd Build system changes for libavfilter addition. Add --enable-avfilter configure option.
Patch by myself, Bobby Bingham and Víctor Paesa.

Originally committed as revision 12249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:32:56 +00:00
Måns Rullgård
147e769207 simplify version number extraction
Originally committed as revision 12247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:18:55 +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
Michael Niedermayer
11fdbc4430 25% faster floating point AAN IDCT.
Other float code likely benefits as well ...

Originally committed as revision 12245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:21:49 +00:00
Peter Ross
269820f141 Disable vhook on Interix, patch by Pete Ross, pross xvid org.
Originally committed as revision 12226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:14:55 +00:00
Måns Rullgård
76a448ed4f Install headers in $prefix/include/$libname
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 09:22:11 +00:00
Diego Biurrun
18ee626cec Add -lm to x264 check, it is needed on most systems.
taken from the DOS/DJGPP port by Michael Kostylev, mik niipt ru

Originally committed as revision 12178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-22 17:15:24 +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
Måns Rullgård
719c8e00ef prettify lib* version number extraction
Originally committed as revision 12128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 00:00:10 +00:00
Måns Rullgård
73ef89807e prettify encoder/decoder/muxer/... list extraction
Originally committed as revision 12127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 00:00:06 +00:00
Mike Frysinger
63da080387 The Blackfin toolchains will automatically select FDPIC according to the
toolchain/tuple, so there is no need (and indeed this is unwanted)
to force -mfdpic into the compile/linker flags.
patch by Mike Frysinger, vapier.adi a gmail d com

Originally committed as revision 12122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 14:21:53 +00:00
Måns Rullgård
b147ec08c3 do not run ldconfig after installing shared libraries
Originally committed as revision 12121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 14:13:23 +00:00
Luca Abeni
f8cda19ee6 Include poll.h instead of sys/poll.h
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 12:51:14 +00:00
Diego Biurrun
6c6007d6a3 Do not use ranges with tr, the results are locale-dependent.
Suggested by Rich Felker.

Originally committed as revision 11914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 23:17:06 +00:00
Michael Niedermayer
652a5bf69d Warn if a comparison is always true or always false due to the
limited range of the data type.
The only new warning this causes (if i didnt miss one) is:
udp.c:272: warning: comparison of unsigned expression < 0 is always false
which is a real bug

Originally committed as revision 11839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 22:31:25 +00:00
Michael Niedermayer
9aceb3cfbc Make string constants const. Why is this not default?
Originally committed as revision 11835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:33:26 +00:00
Diego Biurrun
1bc0a44d79 Remove -Werror= CFLAGS that do not have the desired effect.
Originally committed as revision 11811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 15:46:52 +00:00
Michael Niedermayer
aa819b9b7d Mixing declarations and statements is an error, so is any construct
depending on sizeof(void) (like void_ptr++)

Originally committed as revision 11798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 18:45:26 +00:00
Michael Niedermayer
f49299967b Warn about casts which remove const.
Feel free to flame me if you disagree that such code is wrong.

Originally committed as revision 11699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:31:49 +00:00
Diego Biurrun
d6773f563d Pass argc and argv to the main function of the SDL tests.
This appears to be required on Windows and does no harm on Linux.
closes issue 344, patch by jdm

Originally committed as revision 11662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-29 09:33:30 +00:00
Diego Biurrun
afc9aee2b4 Add -pthread to extralibs and not to ldflags so that the dependency gets
reflected in the pkg-config files.
noticed by j .at. v2v .dot. cc

Originally committed as revision 11618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 13:31:50 +00:00
Diego Biurrun
3fe142e255 Add a --enable-nonfree command line parameter similar to --enable-gpl.
Required to enable nonfree libraries that make FFmpeg unredistributable.

Originally committed as revision 11617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 13:24:32 +00:00