diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-06-21 18:57:13 -0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-06-21 19:06:00 -0300 |
commit | 6504047f82866fdc0e2a5422ad7fecb44740e9d6 (patch) | |
tree | 2bddb0d63d4fc2a6f6c48a70e2e30b8a5c9ffa6b /ffserver.c | |
parent | 758c7a5cbc30d7fe40839e11f18f50a73011366b (diff) | |
download | ffmpeg-6504047f82866fdc0e2a5422ad7fecb44740e9d6.tar.gz |
ffserver: drop unneeded else branching
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 2de35ba0b9..fd7d3cba16 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2217,7 +2217,8 @@ static int http_prepare_data(HTTPContext *c) ffm file, so must wait for more data */ c->state = HTTPSTATE_WAIT_FEED; return 1; /* state changed */ - } else if (ret == AVERROR(EAGAIN)) { + } + if (ret == AVERROR(EAGAIN)) { /* input not ready, come back later */ return 0; } |