Просмотр исходного кода

ffserver: drop redundant else clause

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet 10 лет назад
Родитель
Сommit
196bc03a86
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      ffserver.c

+ 2 - 2
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);