1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

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

View File

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