ffserver: drop redundant else clause
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Sat, 3 Jan 2015 23:06:19 +0000 (20:06 -0300)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Sat, 3 Jan 2015 23:22:45 +0000 (20:22 -0300)
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
ffserver.c

index dfed412..8f564ab 100644 (file)
@@ -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);