You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffserver: remove redundant comment, clarify another one
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
@@ -1285,7 +1285,6 @@ static void compute_real_filename(char *filename, int max_size)
|
|||||||
char *p;
|
char *p;
|
||||||
FFServerStream *stream;
|
FFServerStream *stream;
|
||||||
|
|
||||||
/* compute filename by matching without the file extensions */
|
|
||||||
av_strlcpy(file1, filename, sizeof(file1));
|
av_strlcpy(file1, filename, sizeof(file1));
|
||||||
p = strrchr(file1, '.');
|
p = strrchr(file1, '.');
|
||||||
if (p)
|
if (p)
|
||||||
@@ -1448,7 +1447,7 @@ static int http_parse_request(HTTPContext *c)
|
|||||||
if (c->post == 0 && stream->stream_type == STREAM_TYPE_LIVE)
|
if (c->post == 0 && stream->stream_type == STREAM_TYPE_LIVE)
|
||||||
current_bandwidth += stream->bandwidth;
|
current_bandwidth += stream->bandwidth;
|
||||||
|
|
||||||
/* If already streaming this feed, do not let start another feeder. */
|
/* If already streaming this feed, do not let another feeder start */
|
||||||
if (stream->feed_opened) {
|
if (stream->feed_opened) {
|
||||||
snprintf(msg, sizeof(msg), "This feed is already being received.");
|
snprintf(msg, sizeof(msg), "This feed is already being received.");
|
||||||
http_log("Feed '%s' already being received\n", stream->feed_filename);
|
http_log("Feed '%s' already being received\n", stream->feed_filename);
|
||||||
|
Reference in New Issue
Block a user