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>
This commit is contained in:
Martin Storsjö 2012-01-25 13:47:47 +02:00
parent 33ad8c3cab
commit 7072a6a4bb
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ int main(int argc, char **argv)
avformat_close_input(&fctx);
while (donotquit)
sleep(60);
usleep(60 * 1000000);
return 0;
}