mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00: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);
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user