Skip to content

Commit

Permalink
ffserver: drop superfluous else clause
Browse files Browse the repository at this point in the history
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
  • Loading branch information
reynaldo committed Jul 27, 2015
1 parent c75bc26 commit b16b8c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ffserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2541,9 +2541,8 @@ static int http_start_receive_data(HTTPContext *c)
http_log("Error reading write index from feed file '%s': %s\n",
c->stream->feed_filename, strerror(errno));
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),
Expand Down

0 comments on commit b16b8c8

Please sign in to comment.