[FFmpeg-cvslog] ffserver: drop redundant else clause

Reynaldo H. Verdejo Pinochet git at videolan.org
Sun Jan 4 00:27:32 CET 2015


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> | Sat Jan  3 20:06:19 2015 -0300| [196bc03a869a8744612e5355efee119a03578ec3] | committer: Reynaldo H. Verdejo Pinochet

ffserver: drop redundant 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=196bc03a869a8744612e5355efee119a03578ec3
---

 ffserver.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ffserver.c b/ffserver.c
index dfed412..8f564ab 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2435,8 +2435,8 @@ static int http_send_data(HTTPContext *c)
                         return -1;
                     else
                         return 0;
-                } else
-                    c->buffer_ptr += len;
+                }
+                c->buffer_ptr += len;
 
                 c->data_count += len;
                 update_datarate(&c->datarate, c->data_count);



More information about the ffmpeg-cvslog mailing list