remove unused function get_longterm_datarate()
authorMåns Rullgård <mans@mansr.com>
Thu, 2 Feb 2006 20:11:09 +0000 (20:11 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 2 Feb 2006 20:11:09 +0000 (20:11 +0000)
Originally committed as revision 4928 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 3a17c49..4c3726c 100644 (file)
@@ -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)
 {