aboutsummaryrefslogtreecommitdiffstats
path: root/tools/probetest.c
Commit message (Collapse)AuthorAgeFilesLines
* avutil/common: Don't auto-include mem.hAndreas Rheinhardt2024-03-311-0/+1
| | | | | | | | | | | There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avformat: Add FFInputFormat, hide internals of AVInputFormatAndreas Rheinhardt2024-03-071-2/+3
| | | | | | | | | | | | | | | | | | | | | This commit does for AVInputFormat what commit 59c9dc82f450638a3068deeb1db5c56f6d155752 did for AVOutputFormat: It adds a new type FFInputFormat, moves all the internals of AVInputFormat to it and adds a now reduced AVInputFormat as first member. This does not affect/improve extensibility of both public or private fields for demuxers (it is still a mess due to lavd). This is possible since 50f34172e0cca2cabc5836308ec66dbf93f5f2a3 (which removed the last usage of an internal field of AVInputFormat in fftools). (Hint: tools/probetest.c accesses the internals of FFInputFormat as well, but given that it is a testing tool this is not considered a problem.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tools: fix const specifier for AVInputFormatJosh de Kock2020-04-301-1/+1
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* tools/probetest: replace the deprecated APIZhong Li2019-11-041-3/+5
| | | | Signed-off-by: Zhong Li <zhongli_dev@126.com>
* lav*,tests: remove several register_all callsJosh de Kock2018-04-021-3/+0
| | | | | | | avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack). Signed-off-by: Josh de Kock <josh@itanimul.li>
* tools/probetest: support testing a single specified input formatMichael Niedermayer2014-12-231-6/+31
| | | | | | | This reduces the time the test takes significantly when only one formats needs to be tested Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add missing initialization for AVProbeData.Reimar Döffinger2014-08-111-1/+1
| | | | | | This has become necessary since the new mime field was added. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* tools/probetest: Check av_realloc() return codeMichael Niedermayer2013-12-111-0/+5
| | | | | Fixess CID1135761 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools/probetest: also print the time the probe functions neededMichael Niedermayer2013-11-081-1/+28
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools/probetest: use named constant for the maximum number of formatsMichael Niedermayer2013-11-081-1/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* probetest: fix possible use of uninitialized dataMichael Niedermayer2012-10-311-0/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* probetest: check command line argumentsMichael Niedermayer2012-10-131-0/+10
| | | | | Fixes CID733835 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* probetest: allow specifying parameters on the command lineMichael Niedermayer2012-05-311-3/+10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-261-11/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) wma: Clip WMA1 and WMA2 frame length to 11 bits. movenc: Don't require frame_size to be set for modes other than mov doc: Update APIchanges with info on muxer flushing movenc: Reindent a block tools: Remove some unnecessary #undefs. rv20: prevent calling ff_h263_decode_mba() with unset height/width tools: K&R reformatting cosmetics Ignore generated aviocat and ismindex tools. build: Automatically include architecture-specific library Makefile snippets. indeo5: prevent null pointer dereference on broken files pktdumper: Use usleep instead of sleep cosmetics: Remove some unnecessary block braces. Drop unnecessary prefix from *sink* variable and struct names. Add a tool for creating smooth streaming manifests movdec: Calculate an average bit rate for fragmented streams, too movenc: Write the sample rate instead of time scale in the stsd atom movenc: Add a separate ismv/isma (smooth streaming) muxer movenc: Allow the caller to decide on fragmentation libavformat: Add a flag for muxers that support write_packet(NULL) for flushing movenc: Add support for writing fragmented mov files ... Conflicts: Changelog cmdutils.c cmdutils.h doc/APIchanges ffmpeg.c ffplay.c libavfilter/Makefile libavformat/Makefile libavformat/avformat.h libavformat/movenc.c libavformat/movenc.h libavformat/version.h tools/graph2dot.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tools: K&R reformatting cosmeticsDiego Biurrun2012-01-251-11/+17
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* probetest: replace usage of deprecated first_iformat by av_iformat_next()Aurelien Jacobs2010-10-151-2/+2
| | | | Originally committed as revision 25490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop argc/argv parameters from main(), they are unused.Diego Biurrun2009-09-181-1/+1
| | | | Originally committed as revision 19907 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: K&R coding style, prettyprintingDiego Biurrun2009-09-181-36/+37
| | | | Originally committed as revision 19906 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Init i to 0 (10l fix).Martin Storsjö2009-09-151-1/+1
| | | | | | Patch by Martin Storsjö / martin von martin aus st Originally committed as revision 19855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Probetest, to test the demuxers probe functions against random and not so randomMichael Niedermayer2009-09-151-0/+119
input. Originally committed as revision 19853 to svn://svn.ffmpeg.org/ffmpeg/trunk