X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=tools%2Ftrasher.c;h=baf1bc3f600cf5388a79aae0ade3e03ddd8152e6;hp=60a2753114babfc7dacbeb6065c8cd7ec93bec9b;hb=f11c9ee996e1a73b8a9f0550d7bbd1695db94cea;hpb=90527811d7db0da5d770235261c4b718b0869a99 diff --git a/tools/trasher.c b/tools/trasher.c index 60a2753114..baf1bc3f60 100644 --- a/tools/trasher.c +++ b/tools/trasher.c @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2007 Michael Niedermayer + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ #include #include @@ -22,7 +41,7 @@ int main(int argc, char** argv) count= atoi(argv[2]); maxburst= atoi(argv[3]); - srand (time (0)); + srandom (time (0)); fseek(f, 0, SEEK_END); length= ftell(f);