diff options
author | Måns Rullgård <mans@mansr.com> | 2006-02-02 20:11:09 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-02-02 20:11:09 +0000 |
commit | b2b77b9c2367a36fc2e0c893d3f9921c6a1eba84 (patch) | |
tree | d016a3c0ce63b7d125f05332e5183d93e1ec60a3 /ffserver.c | |
parent | 53f7c43fcc97f4e5178a707033cee8749eaf912e (diff) | |
download | ffmpeg-b2b77b9c2367a36fc2e0c893d3f9921c6a1eba84.tar.gz |
remove unused function get_longterm_datarate()
Originally committed as revision 4928 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ffserver.c b/ffserver.c index 3a17c49896..4c3726c5f3 100644 --- a/ffserver.c +++ b/ffserver.c @@ -359,14 +359,6 @@ static int compute_datarate(DataRateData *drd, int64_t count) return ((count - drd->count1) * 1000) / (cur_time - drd->time1); } -static int get_longterm_datarate(DataRateData *drd, int64_t count) -{ - /* You get the first 3 seconds flat out */ - if (cur_time - drd->time1 < 3000) - return 0; - return compute_datarate(drd, count); -} - static void start_children(FFStream *feed) { |