Statistics
| Branch: | Revision:

ffmpeg / tools / trasher.c @ 565344e7

History | View | Annotate | Download (1.83 KB)

# Date Author Comment
f19a068e 03/08/2010 05:00 PM Diego Biurrun

Add missing stdlib.h #include, fixes the warnings:
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

5988dc9e 03/06/2010 01:32 AM Michael Niedermayer

Remove apparently unneeded define and includes.

Originally committed as revision 22229 to svn://svn.ffmpeg.org/ffmpeg/trunk

47cf98ef 03/06/2010 01:31 AM Michael Niedermayer

Make trasher use a well defined random number generator and allow the seed to be specified on the cmd line.

Originally committed as revision 22228 to svn://svn.ffmpeg.org/ffmpeg/trunk

6510c453 03/24/2009 04:28 PM Diego Biurrun

Add _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSI
extensions of POSIX. Avoids implicit declaration warnings on some systems.

Originally committed as revision 18178 to svn://svn.ffmpeg.org/ffmpeg/trunk

4a8361f8 07/13/2008 09:44 PM Matthieu Castet

tools/trasher: Don't mix srand/rand and srandom/random interface.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 14222 to svn://svn.ffmpeg.org/ffmpeg/trunk

c33820e5 01/10/2008 10:26 AM Diego Biurrun

Add LGPL license header.

Originally committed as revision 11490 to svn://svn.ffmpeg.org/ffmpeg/trunk

90527811 01/09/2008 12:29 AM Mike Melanson

Error checking: make sure that there are 3 parameters and that the
file open operation succeeds.

Originally committed as revision 11479 to svn://svn.ffmpeg.org/ffmpeg/trunk

e36f0f03 01/08/2008 10:57 PM Diego Biurrun

Remove unused variable i.

Originally committed as revision 11474 to svn://svn.ffmpeg.org/ffmpeg/trunk

0f340f8f 01/08/2008 12:54 AM Michael Niedermayer

A little proggy i wrote years ago.
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