mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +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:
parent
53f7c43fcc
commit
b2b77b9c23
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user