Commit Graph

834 Commits

Author SHA1 Message Date
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
Diego Biurrun 64e13d6914 Do not group libamr_nb and libamr_wb together as libamr.
Also fixes --enable-libamr being recognized as configure parameter.

Originally committed as revision 11616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 12:46:46 +00:00
Michael Kostylev 094c09bb4a Add system-specific network link flags to inet_aton test. This should fix
the check on platforms that require those flags.
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-18 01:47:34 +00:00
KO Myung-Hun 1ca5d97fc8 Use check_lib2 instead of check_lib in SDL test. This is helpful in
combination with different calling/naming conventions as used in the
OS/2 port of SDL.
patch by Myung-Hun, komh a chollian d net

Originally committed as revision 11545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 23:00:18 +00:00
Igor Mozolevsky 800a5a1905 pentium4m is a valid CPU name, add it to the list.
patch by Igor Mozolevsky, igor hybrid-lab.co uk

Originally committed as revision 11538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 09:09:40 +00:00
Diego Biurrun cf1392e9f3 Move "Creating config.mak and config.h..." message down to the point where
those two files are actually created.

Originally committed as revision 11537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 09:08:19 +00:00
Måns Rullgård e5d8ccd727 refer users to ffmpeg-user list in case of errors
Originally committed as revision 11517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 12:34:55 +00:00
Alessandro Sappia 0b4a18218e Adding support for libdc1394 v.2, patch by Alessandro Sappia a dot sappia at ngi dot it
Originally committed as revision 11501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 01:59:05 +00:00
Roberto Togni ca5323af4b Move printing of the license status at the end of configure output, so
that users won't miss it

Originally committed as revision 11450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 21:37:18 +00:00
Aurelien Jacobs 3abe5fbdc4 improve CRC API
- don't export any global var
 - provide either generated or hardcoded tables

Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Luca Abeni 8eb793c459 Split the RTP demuxing functions out of rtp.c, to simplify the RTP muxer's dependencies
Originally committed as revision 11406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 19:33:50 +00:00
Luca Abeni 95c2184270 Rationalize some dependencies between rtsp and rtp
Originally committed as revision 11385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 12:49:12 +00:00
Dave Yeo 72be9e73ae Add portable way to check for the existence of definitions and
apply it to socklen_t.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-01 22:54:35 +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
Michael Kostylev 81644c2ee0 Check for the presence of sys/select.h and conditionally #include it.
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:38:50 +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
Diego Biurrun fe9bb34766 dv1394 depends on dv_demuxer, fixes linking with demuxers disabled.
patch by Aurel

Originally committed as revision 11258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:30:04 +00:00
Diego Biurrun 08c015c075 Remove unnecessary system include path from pkg-config files.
Originally committed as revision 11247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 09:16:40 +00:00
Måns Rullgård 569cb218f8 Revert r11202: do not create copy relocations when linking to shared libs
This caused more problems than it solved and is no longer required.

Originally committed as revision 11210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:51:52 +00:00
Måns Rullgård e11910120a do not create copy relocations when linking to shared libs
Originally committed as revision 11202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-11 20:02:09 +00:00
Diego Biurrun c552605cae Add --list-indevs and --list-outdevs command line options.
Originally committed as revision 11179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:53:46 +00:00
Diego Biurrun 10d46dd0c1 Add --disable-devices to --help output.
Originally committed as revision 11178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:52:50 +00:00
Diego Biurrun 7dd2862b48 Add input and output devices to configure output.
Originally committed as revision 11177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:51:59 +00:00
Diego Biurrun 8fb1cb5825 Remove unnecessary quotes.
Originally committed as revision 11176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:34:31 +00:00
Dave Yeo d22e844250 OS/2 support restored in cleaner form.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 23:15:24 +00:00
Måns Rullgård c2fd6530af use -Bsymbolic linker flag if supported
Originally committed as revision 11164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-04 20:01:41 +00:00
Panagiotis Issaris 9aa8ed9d23 Add a --disable-devices flag which disables all muxers and demuxers of
libavdevice at once.

Originally committed as revision 11158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:02:26 +00:00
Diego Biurrun 52a9cf3435 Fix out of tree builds after introduction of libavdevice.
Originally committed as revision 11084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 12:02:41 +00:00
Diego Biurrun 7483e694f3 cosmetics: Consistently indent with 4 spaces, break some long lists into single
lines, align some columns.

Originally committed as revision 11081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 11:09:28 +00:00
Luca Abeni c4035e5d3f Fix the creation of alldevices.c (create it without any rename).
This also requires some changes to configure

Originally committed as revision 11080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 08:07:23 +00:00
Luca Abeni c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Diego Biurrun e5af4a113b main() --> main(void)
Originally committed as revision 11069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-20 11:18:52 +00:00
Diego Biurrun db817cf35a whitespace consistency cosmetics
Originally committed as revision 11068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-20 11:18:24 +00:00
Baptiste Coudurier 8361b1bea8 remove now useless libogg support
Originally committed as revision 11004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-12 10:26:33 +00:00
Aurelien Jacobs 543b3965f1 fix libogg muxer dependency checking
Originally committed as revision 10959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 13:14:05 +00:00
Diego Biurrun 3837d107b7 Keep -lvorbis in libvorbis linker flags even when only used for encoding.
Some libvorbis versions on some platforms (macports) fail to compile otherwise.

Originally committed as revision 10932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 00:26:32 +00:00
Diego Biurrun f9def9ccc6 Remove libvorbis Vorbis decoding support. Our native decoder is complete
and has no known bugs, any remaining issues will hopefully be uncovered now.

Originally committed as revision 10924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 12:55:32 +00:00
Ramiro Polla 8138b9db26 List enabled code in configure output
Originally committed as revision 10921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 02:20:12 +00:00
Ramiro Polla bf0c4afab2 Speed up show_list
Originally committed as revision 10920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 02:15:53 +00:00
Diego Biurrun d2bbb2f743 Rename --disable-opts option to --disable-optimizations in order to be less
ambiguous, opts sounds more like options than optimizations.

Originally committed as revision 10855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 19:19:02 +00:00
Diego Biurrun 8400d6b8ea Rename optimize variable to the slightly more meaningful optimizations.
Originally committed as revision 10854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 19:17:15 +00:00
Ramiro Polla c3cf56140e Install MSVC import libraries without version numbering in the filename.
Originally committed as revision 10814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 19:06:32 +00:00
Ramiro Polla c5f1446678 Append BUILDSUF directly to NAME instead of prepending it to (S)LIBSUF.
Makes non-posix systems shared library names more correct,
such as avcodec-buildsuf-51.dll instead of avcodec-51-buildsuf.dll

Originally committed as revision 10813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 18:03:05 +00:00