summaryrefslogtreecommitdiff
path: root/cmdutils.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement a var for containing the current year number rather thanStefano Sabatini2009-01-181-2/+4
| | | | | | hardcode it in the banner string. Originally committed as revision 16678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless #if around header #includes.Diego Biurrun2009-01-141-6/+0
| | | | Originally committed as revision 16593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-8/+8
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump year number.Stefano Sabatini2009-01-021-1/+1
| | | | Originally committed as revision 16406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove calls to deprecated av_set_string2() with calls toStefano Sabatini2008-12-191-1/+1
| | | | | | av_set_string3(). Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix weird indent.Stefano Sabatini2008-12-181-4/+4
| | | | Originally committed as revision 16200 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix opt_default(), making it exit immediately in case of an invalidStefano Sabatini2008-12-171-7/+12
| | | | | | | argument. See the thread: "[PATCH] Fix opt_default()". Originally committed as revision 16196 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include headers for optional libraries only when enabled.Diego Pettenò2008-10-221-0/+8
| | | | | | | | | | | Include the headers for libavfilter, libswscale and libpostproc when they are enabled (and thus linked in). Without this change, Sun Studio will fail to link FFmpeg since two inline functions defined in avfilter.h will have undefined references to non-inline libavfilter functions. Originally committed as revision 15665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use CONFIG_* macros in cmdutils.c for consistency.Diego Pettenò2008-10-161-3/+3
| | | | Originally committed as revision 15626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark print_all_lib_versions() static in cmdutils.c . Patch by Diego PettenòDiego Pettenò2008-10-041-1/+1
| | | | Originally committed as revision 15547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move opt_default() and set_context_opts() to cmdutils so it can be used fromMichael Niedermayer2008-09-281-0/+55
| | | | | | the other tools as well. Originally committed as revision 15450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_banner()/show_version() print the libpostproc versionStefano Sabatini2008-09-011-0/+4
| | | | | | numbers if enabled. Originally committed as revision 15149 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: vertical align in print_all_lib_versions().Stefano Sabatini2008-08-291-3/+3
| | | | Originally committed as revision 15032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_version()/show_banner() print the libswscale versions ifStefano Sabatini2008-08-291-0/+4
| | | | | | enabled. Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make show_banner() and show_version() print both the compile-time and theStefano Sabatini2008-08-131-13/+20
| | | | | | link-time/run-time libav* version numbers. Originally committed as revision 14737 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace call to deprecated avcodec_build() with avcodec_version().Diego Biurrun2008-08-031-1/+1
| | | | Originally committed as revision 14521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print the program_name rather than always "FFmpeg" when showing theStefano Sabatini2008-07-091-10/+13
| | | | | | commandline tools license. Originally committed as revision 14141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify show_banner() so that it does not require arguments, similarStefano Sabatini2008-05-291-1/+1
| | | | | | | to what was previously done with show_version(). patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move show_formats() to cmdutils.c.Stefano Sabatini2008-05-221-0/+123
| | | | | | Patch by: Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not pass program_name as argument to show_version(), this allows someMichael Niedermayer2008-05-211-1/+1
| | | | | | future simplifications. Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
* OPT_EXITMichael Niedermayer2008-05-211-0/+2
| | | | Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-5/+5
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Compile network-related code conditionally.Ramiro Polla2008-05-081-0/+4
| | | | Originally committed as revision 13076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorgLuca Barbato2008-04-031-0/+4
| | | | Originally committed as revision 12679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export parse_time_or_die from ffmpeg.c to cmdutils.cStefano Sabatini2008-03-311-0/+11
| | | | | | Patch by Stefano Sabatini (stefano sabatini-lala poste it) Originally committed as revision 12647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: occured --> occurredDiego Biurrun2008-03-221-2/+2
| | | | Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: #include config.h before all other FFmpeg headers.Diego Biurrun2008-03-151-1/+1
| | | | Originally committed as revision 12450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove INFINITY as suggested by rich.Michael Niedermayer2008-03-011-1/+1
| | | | Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print libavfilter version if it is enabled in configureVitor Sessak2008-02-271-0/+4
| | | | Originally committed as revision 12259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_options() use parse_number_or_die().Stefano Sabatini2008-02-251-3/+4
| | | | | | Patch by Stefano Sabatini stefano sabatini-lala poste it Originally committed as revision 12211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* parse_number_or_die()Michael Niedermayer2008-02-211-0/+18
| | | | | | Based on a patch by Stefano Sabatini. Originally committed as revision 12167 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not print an (L)GPL license statement when nonfree parts have been compiledDiego Biurrun2008-01-301-1/+6
| | | | | | into FFmpeg. Instead warn that the resulting binary is unredistributable. Originally committed as revision 11666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print libavdevice version.Michael Niedermayer2008-01-101-3/+6
| | | | Originally committed as revision 11484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update show_banner date.Benoit Fouet2008-01-021-1/+1
| | | | Originally committed as revision 11368 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cmdutils.c uses FFMPEG_CONFIGURATION from config.h without directly includingRonald S. Bultje2007-09-291-0/+1
| | | | | | | config.h so that compilation without HAVE_AV_CONFIG_H fails. patch by Ronald S. Bultje, rsbultje gmail com Originally committed as revision 10619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement common show version and banner.Stefano Sabatini2007-09-271-0/+26
| | | | | | Patch by Stefano Sabatini [stefano sabatini-lala poste it] Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement the cmdutils.c show_license function.Stefano Sabatini2007-08-201-0/+37
| | | | | | patch by Stefano Sabatini: [stefano sabatini-lala /\ poste it] Originally committed as revision 10149 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make cmdutils.c:parse_options accept as argument a function to parseStefano Sabatini2007-08-131-2/+4
| | | | | | | bare command line parameters. patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace the only occurrence of AVERROR_NOENT with AVERROR(ENOENT).Panagiotis Issaris2007-07-191-1/+1
| | | | Originally committed as revision 9761 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-191-1/+1
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).Panagiotis Issaris2007-07-191-1/+1
| | | | Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* to be able to compile without HAVE_AV_CONFIG_HRonald S. Bultje2007-07-021-0/+4
| | | | | | | | patch by Ronald S. Bultje: [rsbultje gmail com] original thread: [FFmpeg-devel] ffmpeg.c/cmdutils.c compilation date: 06/23/2007 03:15 AM Originally committed as revision 9453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace the uses of old string functions that Reimar missedMåns Rullgård2007-06-241-3/+4
| | | | Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.Diego Biurrun2007-06-101-1/+1
| | | | Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant #include, avformat.h indirectly includes common.h.Diego Biurrun2007-06-091-2/+0
| | | | Originally committed as revision 9261 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use url_fopen error code when opening input fileBenoit Fouet2007-05-101-0/+3
| | | | | | handle the AVERROR_NOENT error case in print_error Originally committed as revision 8977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change atoll call to equivalent strtoll to fix compilation on Mac OS X 10.2Patrice Bensoussan2007-04-131-1/+1
| | | | | | | | | patch by Patrice Bensoussan \ patrice dot bensoussan chez free dot fr Original thread: date: 04/05/2007 07:56 PM subject: [Ffmpeg-devel] [PATCH] Fix broken compilation on Mac OS X 10.2 due to OPT_INT64 support Originally committed as revision 8724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add OPT_INT64 optionBaptiste Coudurier2007-03-301-0/+2
| | | | Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prevent exit missuseMichael Niedermayer2007-03-271-0/+2
| | | | Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l in r7174 caused all options to be treated as filenames.Loren Merritt2006-11-271-1/+1
| | | | Originally committed as revision 7177 to svn://svn.ffmpeg.org/ffmpeg/trunk