Commit b2b77b9c authored by Måns Rullgård's avatar Måns Rullgård

remove unused function get_longterm_datarate()

Originally committed as revision 4928 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 53f7c43f
...@@ -359,14 +359,6 @@ static int compute_datarate(DataRateData *drd, int64_t count) ...@@ -359,14 +359,6 @@ static int compute_datarate(DataRateData *drd, int64_t count)
return ((count - drd->count1) * 1000) / (cur_time - drd->time1); 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) static void start_children(FFStream *feed)
{ {
......
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