From 2b9c040d628e1b4c939745f128f983e4c7660d13 Mon Sep 17 00:00:00 2001 From: bcoudurier Date: Sat, 21 Jun 2008 03:38:49 +0000 Subject: [PATCH] change bandwith to unsigned git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13849 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- ffserver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ffserver.c b/ffserver.c index d636d3c1f..6ab62832e 100644 --- a/ffserver.c +++ b/ffserver.c @@ -215,7 +215,7 @@ typedef struct FFStream { time_t pid_start; /* Of ffmpeg process */ char **child_argv; struct FFStream *next; - int bandwidth; /* bandwidth, in kbits/s */ + unsigned bandwidth; /* bandwidth, in kbits/s */ /* RTSP options */ char *rtsp_option; /* multicast specific */ @@ -3509,7 +3509,8 @@ static void build_feed_streams(void) /* compute the bandwidth used by each stream */ static void compute_bandwidth(void) { - int bandwidth, i; + unsigned bandwidth; + int i; FFStream *stream; for(stream = first_stream; stream != NULL; stream = stream->next) { -- 2.39.2