Commit 7072a6a4 authored by Martin Storsjö's avatar Martin Storsjö

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: 's avatarMartin Storsjö <martin@martin.st>
parent 33ad8c3c
......@@ -120,7 +120,7 @@ int main(int argc, char **argv)
avformat_close_input(&fctx);
while (donotquit)
sleep(60);
usleep(60 * 1000000);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment