summaryrefslogtreecommitdiff
path: root/tools/trasher.c
Commit message (Collapse)AuthorAge
* tools/trasher: Check fseek returnsMichael Niedermayer2015-02-22
| | | | | | Fixes CID733726 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* trasher: check seek return value.Michael Niedermayer2012-10-13
| | | | | Fixes CID733726 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: dsputil: Move Xvid IDCT put/add functions to a more suitable place trasher: Include all the necessary headers x86: Remove some leftover declarations for non-existent functions ARM: libavresample: NEON optimised generic fltp to s16 conversion ARM: libavresample: NEON optimised stereo fltp to s16 conversion ARM: libavresample: NEON optimised flat float to s16 conversion Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * trasher: Include all the necessary headersMartin Storsjö2012-09-13
| | | | | | | | | | | | | | The missing headers are required for errno and for strerror. This fixes building of this tool on mingw32ce. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-25
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add missing stdlib.h #include, fixes the warnings:Diego Biurrun2010-03-08
| | | | | | | tools/trasher.c:44: warning: implicit declaration of function ‘atoi’ tools/trasher.c:53: warning: implicit declaration of function ‘abs’ Originally committed as revision 22328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove apparently unneeded define and includes.Michael Niedermayer2010-03-06
| | | | Originally committed as revision 22229 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make trasher use a well defined random number generator and allow the seed ↵Michael Niedermayer2010-03-06
| | | | | | to be specified on the cmd line. Originally committed as revision 22228 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSIDiego Biurrun2009-03-24
| | | | | | extensions of POSIX. Avoids implicit declaration warnings on some systems. Originally committed as revision 18178 to svn://svn.ffmpeg.org/ffmpeg/trunk
* tools/trasher: Don't mix srand/rand and srandom/random interface.Matthieu Castet2008-07-13
| | | | | | patch by matthieu castet, castet.matthieu free fr Originally committed as revision 14222 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add LGPL license header.Diego Biurrun2008-01-10
| | | | Originally committed as revision 11490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Error checking: make sure that there are 3 parameters and that theMike Melanson2008-01-09
| | | | | | file open operation succeeds. Originally committed as revision 11479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable i.Diego Biurrun2008-01-08
| | | | Originally committed as revision 11474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* A little proggy i wrote years ago.Michael Niedermayer2008-01-08
This simply writes burts of random data into a file. Great for testing error robustness/resilience/concealment. Originally committed as revision 11459 to svn://svn.ffmpeg.org/ffmpeg/trunk