| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This fixes build errors in some environments.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
| |
This symbol name clashes with a symbol in gnutls, if linking
statically to that library.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This saves a bit of typing.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
| |
|
|
|
|
|
|
|
| |
This way, all messages can be easily disabled with -loglevel.
Behavior change -- configuration is printed with AV_LOG_VERBOSE, so it's
not shown by default.
|
|
|
|
|
| |
This way it can be applied to cmdutils too -- e.g. showing the banner
and printing startup messages.
|
|
|
|
| |
fixes programs linking with --disable-avfilter
|
|
|
|
| |
Remove now redundant (and broken/undocumented) opt_programid.
|
|
|
|
|
| |
Also document it and replace undocumented and inconsistent
'-sample_fmt list' syntax with -sample_fmts.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This allows options like -target, which are just shortcuts for other
options, to work without dummy function for all options they invoke.
|
|
|
|
| |
This is the first step to removing the globals plague from avtools.
|
|
|
|
| |
This will be useful in the following commit.
|
| |
|
|
|
|
| |
Allows cmdutils to call each tool's own cleanup function.
|
|
|
|
| |
Replace it with newly introduced libavutil API.
|
| |
|
| |
|
|
|
|
|
|
|
| |
It will be further developed with a few incompatible changes.
ffmpeg.c will stay as is for some time, so any scripts using it won't be
broken.
|
|
|
|
|
|
| |
Avoid brittle and obfuscating reference to a global.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
| |
|
| |
|
|
|
|
| |
Split them when codec id is known.
|
|
|
|
| |
Deprecate avcodec_alloc_context/2.
|
|
|
|
|
|
| |
It stores options in a dictionary to be passed to new open calls.
It will replace opt_default once all the pieces are in place.
|
| |
|
|
|
|
|
|
| |
Fix ffplay -i FILE, which was recently broken.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
|
|
| |
Make ff* tools only accept opt_* functions taking two arguments.
The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
|
|
|
| |
av_freep(swsContext) will leak all memory potentially
allocated within the swsContext.
|
|
|
|
|
|
| |
"file" and ffplay -i "file".
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
|
| |
Check that the value passed for an OPT_INT option is an int, fail
otherwise.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function was only used in opt_sample_fmt() for listing the sample
formats. Move list_fmts() functionality directly into
opt_sample_fmt().
Also fix the warning:
ffmpeg.c: In function ‘opt_audio_sample_fmt’:
ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type
cmdutils.h:163: note: expected ‘void (*)(char *, int, int)’ but argument is of type ‘char * (*)(char *, int, enum AVSampleFormat)’
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
This is consistent with how all the other options work.
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
CommandLineToArgvW requires windows.h, include it directly
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All file names should be in UTF-8 within libavformat.
This is handled by mapping the open() function to an internal one
in os_support.h for windows.
fopen() could be overridden in the same way, but if that would be
used from ffmpeg.c, it would add a dependency on an ff prefixed
internal lavf function.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
| |
|
|
|
|
| |
also update the multiple inclusion guards in config.h|mak
|
|
|
|
|
|
|
|
| |
The new av_parse_time() is created in libavutil/parseutils.h, all the
internal functions used by parse_date are moved to
libavutil/parseutils.c and made static.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
|