mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetic: remove extra parenthesis
Originally committed as revision 9985 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
81d6d520c0
commit
eeffbdea97
@ -342,13 +342,11 @@ static void update_datarate(DataRateData *drd, int64_t count)
|
||||
if (!drd->time1 && !drd->count1) {
|
||||
drd->time1 = drd->time2 = cur_time;
|
||||
drd->count1 = drd->count2 = count;
|
||||
} else {
|
||||
if (cur_time - drd->time2 > 5000) {
|
||||
} else if (cur_time - drd->time2 > 5000) {
|
||||
drd->time1 = drd->time2;
|
||||
drd->count1 = drd->count2;
|
||||
drd->time2 = cur_time;
|
||||
drd->count2 = count;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user