mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
ffserver: drop unneeded else branching
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
parent
758c7a5cbc
commit
6504047f82
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user