Commit Graph

6 Commits

Author SHA1 Message Date
Diego Biurrun 6510c453ab 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
2009-03-24 16:28:48 +00:00
Matthieu Castet 4a8361f848 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
2008-07-13 21:44:00 +00:00
Diego Biurrun c33820e52e Add LGPL license header.
Originally committed as revision 11490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 10:26:57 +00:00
Mike Melanson 90527811d7 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
2008-01-09 00:29:49 +00:00
Diego Biurrun e36f0f03cc Remove unused variable i.
Originally committed as revision 11474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:57:03 +00:00
Michael Niedermayer 0f340f8fc5 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
2008-01-08 00:54:19 +00:00