diff options
author | Martin Storsjö <martin@martin.st> | 2012-01-25 13:47:47 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-01-25 14:34:51 +0200 |
commit | 7072a6a4bb058a906076d0813ec46595bc2a9a09 (patch) | |
tree | 3809b44a75f0373aa9f0401953d20ab4b95df0d4 | |
parent | 33ad8c3cab30ebf8a08c891a5ec8cbcba15feabb (diff) | |
download | ffmpeg-7072a6a4bb058a906076d0813ec46595bc2a9a09.tar.gz |
pktdumper: Use usleep instead of sleep
MinGW doesn't have sleep, only _sleep (which is deprecated),
Sleep (which is defined in winbase.h and not in the standard
C headers) and usleep.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | tools/pktdumper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pktdumper.c b/tools/pktdumper.c index e9e5acfdec..54dd3f559f 100644 --- a/tools/pktdumper.c +++ b/tools/pktdumper.c @@ -120,7 +120,7 @@ int main(int argc, char **argv) avformat_close_input(&fctx); while (donotquit) - sleep(60); + usleep(60 * 1000000); return 0; } |