[FFmpeg-cvslog] r13809 - trunk/ffserver.c

stefano subversion
Thu Jun 19 09:10:44 CEST 2008


Author: stefano
Date: Thu Jun 19 09:10:44 2008
New Revision: 13809

Log:
Cosmetics: s/stats/status/ in ffserver.c.


Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Thu Jun 19 09:10:44 2008
@@ -257,7 +257,7 @@ static void close_connection(HTTPContext
 static int handle_connection(HTTPContext *c);
 static int http_parse_request(HTTPContext *c);
 static int http_send_data(HTTPContext *c);
-static void compute_stats(HTTPContext *c);
+static void compute_status(HTTPContext *c);
 static int open_input_stream(HTTPContext *c, const char *info);
 static int http_start_receive_data(HTTPContext *c);
 static int http_receive_data(HTTPContext *c);
@@ -1522,7 +1522,7 @@ static int http_parse_request(HTTPContex
 #endif
 
     if (c->stream->stream_type == STREAM_TYPE_STATUS)
-        goto send_stats;
+        goto send_status;
 
     /* open input stream */
     if (open_input_stream(c, info) < 0) {
@@ -1571,8 +1571,8 @@ static int http_parse_request(HTTPContex
     c->buffer_end = q;
     c->state = HTTPSTATE_SEND_HEADER;
     return 0;
- send_stats:
-    compute_stats(c);
+ send_status:
+    compute_status(c);
     c->http_error = 200; /* horrible : we use this value to avoid
                             going to the send data state */
     c->state = HTTPSTATE_SEND_HEADER;
@@ -1589,7 +1589,7 @@ static void fmt_bytecount(ByteIOContext 
     url_fprintf(pb, "%"PRId64"%c", count, *s);
 }
 
-static void compute_stats(HTTPContext *c)
+static void compute_status(HTTPContext *c)
 {
     HTTPContext *c1;
     FFStream *stream;




More information about the ffmpeg-cvslog mailing list