mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
* Also include time.h for nanosleep()
by: Philipp Matthias Hahn <pmhahn@titan.lahn.de> Originally committed as revision 309 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -880,8 +880,9 @@ static int http_prepare_data(HTTPContext *c)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
send_it:
|
||||
av_write_packet(&c->fmt_ctx, &pkt);
|
||||
send_it:
|
||||
if (av_write_packet(&c->fmt_ctx, &pkt))
|
||||
c->state = HTTPSTATE_SEND_DATA_TRAILER;
|
||||
}
|
||||
|
||||
av_free_packet(&pkt);
|
||||
|
||||
Reference in New Issue
Block a user