diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-06-19 07:10:44 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-06-19 07:10:44 +0000 |
commit | dca21085414f45b03c80ccee28a293edf2423c1b (patch) | |
tree | ad2a2ef427e0ba0b70038b0cc8444403e9cb0cf1 /ffserver.c | |
parent | f26a60a0f0d04436d8c39e13930bb2a74dc0d3c2 (diff) | |
download | ffmpeg-dca21085414f45b03c80ccee28a293edf2423c1b.tar.gz |
Cosmetics: s/stats/status/ in ffserver.c.
Originally committed as revision 13809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ffserver.c b/ffserver.c index 5464176a45..1c961991cc 100644 --- a/ffserver.c +++ b/ffserver.c @@ -257,7 +257,7 @@ static void close_connection(HTTPContext *c); 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(HTTPContext *c) #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(HTTPContext *c) 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 *pb, int64_t count) url_fprintf(pb, "%"PRId64"%c", count, *s); } -static void compute_stats(HTTPContext *c) +static void compute_status(HTTPContext *c) { HTTPContext *c1; FFStream *stream; |