diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-21 03:38:49 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-21 03:38:49 +0000 |
commit | 177d256402136a704f88cb126cf8ab89d2a66a4b (patch) | |
tree | 930f2d9058f0192a796c8061fb0f9eaffe212500 /ffserver.c | |
parent | 794ac28c52a556b39acd689c41843431fc008afe (diff) | |
download | ffmpeg-177d256402136a704f88cb126cf8ab89d2a66a4b.tar.gz |
change bandwidth to unsigned
Originally committed as revision 13849 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ffserver.c b/ffserver.c index d636d3c1f7..6ab62832e5 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) { |