ffserver: drop superfluous else clause
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
parent
c75bc268a2
commit
b16b8c815c
@ -2541,9 +2541,8 @@ static int http_start_receive_data(HTTPContext *c)
|
|||||||
http_log("Error reading write index from feed file '%s': %s\n",
|
http_log("Error reading write index from feed file '%s': %s\n",
|
||||||
c->stream->feed_filename, strerror(errno));
|
c->stream->feed_filename, strerror(errno));
|
||||||
return ret;
|
return ret;
|
||||||
} else {
|
|
||||||
c->stream->feed_write_index = ret;
|
|
||||||
}
|
}
|
||||||
|
c->stream->feed_write_index = ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
c->stream->feed_write_index = FFMAX(ffm_read_write_index(fd),
|
c->stream->feed_write_index = FFMAX(ffm_read_write_index(fd),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user