[FFmpeg-cvslog] ffserver: drop superfluous else clause

Reynaldo H. Verdejo Pinochet git at videolan.org
Mon Jul 27 05:00:49 CEST 2015


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> | Sun Jul 26 23:53:08 2015 -0300| [b16b8c815c2c94ac2bbe0ee1a1775f76963339ea] | committer: Reynaldo H. Verdejo Pinochet

ffserver: drop superfluous else clause

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b16b8c815c2c94ac2bbe0ee1a1775f76963339ea
---

 ffserver.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ffserver.c b/ffserver.c
index b4e6093..42025ab 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -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),



More information about the ffmpeg-cvslog mailing list