Commit 8cc46292 authored by bcoudurier's avatar bcoudurier

cosmetics, reindent and remove empty line

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18108 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9a00e0ce
...@@ -2438,14 +2438,13 @@ static int http_start_receive_data(HTTPContext *c) ...@@ -2438,14 +2438,13 @@ static int http_start_receive_data(HTTPContext *c)
ftruncate(c->feed_fd, FFM_PACKET_SIZE); ftruncate(c->feed_fd, FFM_PACKET_SIZE);
http_log("Truncating feed file '%s'\n", c->stream->feed_filename); http_log("Truncating feed file '%s'\n", c->stream->feed_filename);
} else { } else {
if ((c->stream->feed_write_index = ffm_read_write_index(fd)) < 0) { if ((c->stream->feed_write_index = ffm_read_write_index(fd)) < 0) {
http_log("Error reading write index from feed file: %s\n", strerror(errno)); http_log("Error reading write index from feed file: %s\n", strerror(errno));
return -1; return -1;
} }
} }
c->stream->feed_write_index = FFMAX(ffm_read_write_index(fd), FFM_PACKET_SIZE); c->stream->feed_write_index = FFMAX(ffm_read_write_index(fd), FFM_PACKET_SIZE);
c->stream->feed_size = lseek(fd, 0, SEEK_END); c->stream->feed_size = lseek(fd, 0, SEEK_END);
lseek(fd, 0, SEEK_SET); lseek(fd, 0, SEEK_SET);
......
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