Commit 88e0f8bb authored by kabi's avatar kabi

* Also include time.h for nanosleep()

   by:  Philipp Matthias Hahn <pmhahn@titan.lahn.de>


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ad09c9a2
......@@ -881,7 +881,8 @@ static int http_prepare_data(HTTPContext *c)
}
} else {
send_it:
av_write_packet(&c->fmt_ctx, &pkt);
if (av_write_packet(&c->fmt_ctx, &pkt))
c->state = HTTPSTATE_SEND_DATA_TRAILER;
}
av_free_packet(&pkt);
......
......@@ -23,7 +23,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <time.h>
typedef struct {
int fd;
......
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