Michael Niedermayer
c23209f63d
tools/target_dec_fuzzer: Fix build after AV_CODEC_CAP_HWACCEL_VDPAU was removed
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
e6debcaaed
tools/target_dec_fuzzer: Fix build after FF_INPUT_BUFFER_PADDING_SIZE was removed
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
James Almer
2f7ca0b94e
tools/ismindex: remove unused header
7 years ago
Martin Storsjö
f19fbfbdc6
aviocat: Check for output write errors
...
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years ago
Martin Storsjö
e41daa6246
Remove support for building for mingw32ce (Windows CE)
...
The toolchain for this target is unmaintained since many years.
While it has been continuously build tested on fate, it hasn't
actually been tested at runtime since many, many years (and back
then, only a few codecs in libavcodec were tested).
So far, keeping support for it has been mostly effortless, but
the compiler does seem to have issues with dllimported data symbols,
ending up as internal compiler errors in some cases. Instead of
jumping through further hoops to work around that, just remove the
target.
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years ago
Diego Biurrun
fd502f4f5f
build: Generalize yasm/nasm-related variable names
...
None of them are specific to the YASM assembler.
(Cherry-picked from libav commit 39e208f4d4
)
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
6e09e12641
tools/sofa2wavs: add license header
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
1a30bf60be
tools: add sofa2wavs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
718f8a01df
tools/target_dec_fuzzer: Move the hwaccel check outside the initialization if
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
38e79d9d9c
tools/target_dec_fuzzer: Do not attempt to fuzz VDPAU, its not supported
...
Fixes: 1364/clusterfuzz-testcase-minimized-6459843441328128
Fixes: 1392
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
d58fe01774
tools/target_dec_fuzzer: Do not use codec_id to look up decoder, but use selected decoder directly
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
390c6ee42c
tools/target_dec_fuzzer: Fix memleak on open failure
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
dec2fa8cc7
tools/target_dec_fuzzer: Use decoder and not codec_id as argument
...
This allows fuzzing decoders with the same codec_id
We also avoid register all to allow the linker to prune unused sections and symbols
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
56ddb923c6
tools/target_dec_fuzzer: Use avcodec_register_all() instead of register_all()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
a9b5b6a97f
tools: Eliminate codec_type complexity from fuzzer
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
966cbfbc83
tools/target_dec_fuzzer: Fix return code on open failure
...
Fixes: 1271/clusterfuzz-testcase-minimized-6095220498235392
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
550a9c547e
tools/target_dec_fuzzer: Remove FuzzerInterface.h dependancy
...
The header is not always available in the docker build environment
Suggested-by: Kostya Serebryany
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
5b499bf4a0
Make tools/target_dec_*_fuzzer buildable with configure and make
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
d976d2ec78
tools/target_dec_fuzzer: Fix build with default FFmpeg build flags
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
164758a831
tools/target_dec_fuzzer: Fuzz video decoder related fields in context.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
802d94c36e
build: fix tools build dependencies
...
Found-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Clément Bœsch
337c68d071
tools/fourcc2pixfmt: fix usages of av_get_codec_tag_string()
8 years ago
Michael Niedermayer
c87ea47481
tools/target_dec_fuzzer: Fix misaligned read
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
8bdba1092f
tools/target_dec_fuzzer: Only audio uses the return value to decode packets in pieces, correct the code to match that
...
Fixes: Timeout
Fixes: 483/fuzz-0-ffmpeg_VIDEO_AV_CODEC_ID_H263I_fuzzer
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Rostislav Pehlivanov
e05d2dd86a
doc/examples/decoder_targeted: move to tools/target_dec_fuzzer.c
...
Name and purpose are more appropriate there since the code isn't
an ideal example.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years ago
Michael Niedermayer
87f6f15460
tools/zmqsend: Do not truncate fgetc() return
...
Fixes CID1396836
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Diego Biurrun
3e105d0884
build: Move entries related to building TOOLS to a subdirectory Makefile
8 years ago
Timothy Gu
d903b4e3ad
zmqsend: Initialize ret to 0
...
Fixes CID1396857.
8 years ago
Philip Langdale
fdb124001e
tools/coverity: Add model for av_realloc
...
Really should have done this last time. It should provide consistency
across our allocations and frees.
8 years ago
Philip Langdale
5eb6852063
tools/coverity: Add models for av_mallocz and av_free
...
This should deal with some false positives, but might lead to
more of them depending on whether it realises that av_freep()
wraps av_free() or not.
8 years ago
Martin Storsjö
233d50b275
qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce
...
These functions are not available on mingw32ce.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Marton Balint
7b8445f03d
tools: add loudnorm script example to use loudnorm
...
Based on a patch by Kyle Swanson <k@ylo.ph>.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Luca Barbato
052b97855d
aviocat: Support avio options
...
Useful to test protocols that require options to be used.
8 years ago
Moritz Barsnick
f71c98ee12
tools: fix grammar error
...
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Clément Bœsch
95a7cbb09d
doc: move out merge script to tools
8 years ago
James Almer
cf16d62076
tools/crypto_bench: add support for des
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
ba3f32d071
tools/crypto_bench: simplify gcrypt functions using a macro
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Michael Niedermayer
360d3f3c18
doc&tools: Add murge script, for analyzing 3 way conflicts.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
64d16fd7f5
tools/patcheck: add a couple more common typos
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Diego Biurrun
b8de14bcdf
tools: Port to codec parameters API
9 years ago
Diego Biurrun
257f00ec1a
Split global .gitignore file into per-directory files
9 years ago
Lou Logan
06eef96b69
fix some a/an typos
...
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Derek Buitenhuis
72673ad7ea
avcodec: Remove libstagefright
...
It serves absolutely no purpose other than to confuse potentional
Android developers about how to use hardware acceleration properly
on the the platform. The stagefright "API" is not public, and the
MediaCodec API is the proper way to do this.
Furthermore, stagefright support in avcodec needs a series of
magic incantations and version-specific stuff, such that
using it actually provides downsides compared just using the actual
Android frameworks properly, in that it is a lot more work and confusion
to get it even running. It also leads to a lot of misinformation, like
these sorts of comments (in [1]) that are absolutely incorrect.
[1] http://stackoverflow.com/a/29362353/3115956
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Reto Kromer
b218ad4628
tools/bookmarklets: HTML code fixes
...
Minor HTML5 code changes.
Closes #167
9 years ago
Hagen Schmidt
59494863ff
patcheck: Fix false detection of 'mergeable calls' when line is removed
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Hendrik Leppkes
c2f861ca42
Replace remaining occurances of av_free_packet with av_packet_unref
9 years ago
Luca Barbato
ce70f28a17
avpacket: Replace av_free_packet with av_packet_unref
...
`av_packet_unref` matches the AVFrame ref-counted API and can be used as
a drop in replacement.
Deprecate `av_free_packet`.
9 years ago
Luca Barbato
1a164e0a83
tools: Drop a stale header
9 years ago
Vittorio Giovara
87e5d8d78c
ismindex: Use the correct abs() version
9 years ago
Andreas Cadhalpun
96f5fdebc3
graph2dot: use avfilter_pad_get_name accessor function
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago