| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Move array size assert after the count increment, and avoid strchr() NULL
dereference on p.
Should fix FFmpeg coverity issue #1108581.
|
|
|
|
| |
Fix trac ticket #3006.
|
|
|
|
|
|
|
|
| |
Fix warning:
ffprobe.c:1684:21: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] end = start + interval->end;
The warning is a false positive, since the variable is accessed only if
has_start is set, and in that case start has been already set.
|
|
|
|
|
|
| |
This is also useful to test seeking on an input file.
This also addresses trac ticket #1437.
|
|
|
|
|
|
|
| |
Since the errors are not fatal, it is less confusing not to show them as
errors but as warnings.
Arbitrarily fixes trac ticket #2419.
|
|
|
|
| |
Fix trac ticket #2930.
|
|
|
|
| |
Should address trac ticket #2621.
|
|
|
|
|
|
|
| |
The option is used to sort the streams by program.
Signed-off-by: Florent Tribouilloy <florent.tribouilloy@smartjog.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
|
|
|
|
|
|
|
|
| |
This fixes rendering of sections containing nested elements followed by
an array, for example as in the case:
programs->streams->stream
enabled by the -show_programs option.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* commit '636ced8e1dc8248a1353b416240b93d70ad03edb':
cmdutils: wrap exit explicitly
Conflicts:
avprobe.c
cmdutils.c
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
|
| |
| |
| |
| |
| | |
This is consistent with the other ff* tools, and also avoids spurious
success reports when ret%256 = 0.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Without this fix, ffprobe would exit with a failure exit code if a stream
specifier is given that selects the last stream.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
|
| | |
|
| |
| |
| |
| | |
Address trac ticket #2636.
|
| |
| |
| |
| |
| |
| |
| | |
Avoid access to uninitialized values, which may result in a crash.
This happens for example in case of option parsing failure, since in that
case the internal AVBprint buffers are not initialized.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Make ffprobe honour codec options, and support stream specifiers like it
is done in ffplay.
In particular, address Trac ticket #1859.
|
| |
| |
| |
| | |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
| | |
|
| |
| |
| |
| | |
Fix trac ticket #2027.
|
| |
| |
| |
| | |
Fix memleak.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Found by Coverity, should fix CID 733741.
|
| |
| |
| |
| |
| | |
Allow to factorize buffers initialization/release, for all the writers
which use it. Simplify.
|
| |
| |
| |
| |
| | |
Fixes CID733837
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This fixes 2 warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* qatar/master:
ARM: fix Thumb PIC on Apple
nut: add do {} while (0) to GET_V
tiffenc: Check av_malloc() results.
tiffenc: Simplify pixel format setup using AVPixFmtDescriptor.
Use atexit() instead of defining a custom exit_program() interface.
msvc: Fix detection of VFW & Avisynth required libs
Conflicts:
ffmpeg.c
ffmpeg_opt.c
ffplay.c
ffprobe.c
ffserver.c
libavcodec/tiffenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This generalizes the previous work on disposition printing.
Disposition flags are shown in a dedicated section, which should improve
output intellegibility, extensibility and filtering operations.
This breaks output syntax with the recently introduced disposition
printing.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do not make use of ad-hoc "tags" code, introduce a new section flag
SECTION_FLAG_HAS_VARIABLE_FIELDS to deal with the tags in a
content-agnostic way.
This is required by the pending disposition change.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do not build from scratch the section header for each section, but build
it using the previous level buffer, thus improving efficiency.
Also fix some few corner cases related to numbering which are exposed by
the pending disposition patch.
|
| |
| |
| |
| |
| |
| | |
Do not build from scratch the section header for each section, but build
using the previous level buffer, thus improving efficiency and fix some
few corner cases which are exposed by the pending disposition patch.
|
| |
| |
| |
| |
| |
| |
| | |
Regular section fields nested in a regular section are now prefixed by
the nested section name.
This is required by the pending change related to disposition.
|
| |
| |
| |
| |
| |
| |
| | |
Regular section fields nested in a regular section are now prefixed by
the nested section name.
This is required by the pending change related to disposition.
|
| |
| |
| |
| | |
The use of the macro makes to add new optional fields somewhat harder.
|
| | |
|
| |
| |
| |
| |
| | |
The parameter is no longer used, since the arguments are parsed at the
framework level.
|
| |
| |
| |
| | |
the json output
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Discard unflexible structure based on the root/chapter/section layout in
favor of a generalized concept of section.
This should allow to represent sections at a generic level of nesting,
and allow subsection fields selection.
Also, simplify the code.
|
| |
| |
| |
| | |
The parameter was never used.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
writer_print_rational()
Make writer_print_time() and writer_print_rational() always call
writer_print_int() or writer_print_string(). This way the checks for
determining if the value should be printed or not are consistently
performed in the low level functions.
writer_print_rational() is moved downward in order to avoid a forward
reference.
Simplify/amend the overall logic.
|
| |
| |
| |
| | |
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
|
| |
| |
| |
| |
| |
| | |
Sync to 3245be9 .
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
|
| |
| |
| |
| |
| |
| | |
Sync with bac1b31 .
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
|