1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

remove unused function get_longterm_datarate()

Originally committed as revision 4928 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2006-02-02 20:11:09 +00:00
parent 53f7c43fcc
commit b2b77b9c23

View 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)
{