Commit 9985cc0e authored by alex's avatar alex

cosmetic: remove extra parenthesis

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9985 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 77f4eb0a
...@@ -342,13 +342,11 @@ static void update_datarate(DataRateData *drd, int64_t count) ...@@ -342,13 +342,11 @@ static void update_datarate(DataRateData *drd, int64_t count)
if (!drd->time1 && !drd->count1) { if (!drd->time1 && !drd->count1) {
drd->time1 = drd->time2 = cur_time; drd->time1 = drd->time2 = cur_time;
drd->count1 = drd->count2 = count; drd->count1 = drd->count2 = count;
} else { } else if (cur_time - drd->time2 > 5000) {
if (cur_time - drd->time2 > 5000) {
drd->time1 = drd->time2; drd->time1 = drd->time2;
drd->count1 = drd->count2; drd->count1 = drd->count2;
drd->time2 = cur_time; drd->time2 = cur_time;
drd->count2 = count; drd->count2 = count;
}
} }
} }
......
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