Commit 2b9c040d authored by bcoudurier's avatar bcoudurier

change bandwith to unsigned

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13849 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 826f1be3
...@@ -215,7 +215,7 @@ typedef struct FFStream { ...@@ -215,7 +215,7 @@ typedef struct FFStream {
time_t pid_start; /* Of ffmpeg process */ time_t pid_start; /* Of ffmpeg process */
char **child_argv; char **child_argv;
struct FFStream *next; struct FFStream *next;
int bandwidth; /* bandwidth, in kbits/s */ unsigned bandwidth; /* bandwidth, in kbits/s */
/* RTSP options */ /* RTSP options */
char *rtsp_option; char *rtsp_option;
/* multicast specific */ /* multicast specific */
...@@ -3509,7 +3509,8 @@ static void build_feed_streams(void) ...@@ -3509,7 +3509,8 @@ static void build_feed_streams(void)
/* compute the bandwidth used by each stream */ /* compute the bandwidth used by each stream */
static void compute_bandwidth(void) static void compute_bandwidth(void)
{ {
int bandwidth, i; unsigned bandwidth;
int i;
FFStream *stream; FFStream *stream;
for(stream = first_stream; stream != NULL; stream = stream->next) { for(stream = first_stream; stream != NULL; stream = stream->next) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment