Commit eeffbdea authored by Alex Beregszaszi's avatar Alex Beregszaszi

cosmetic: remove extra parenthesis

Originally committed as revision 9985 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 81d6d520
......@@ -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;
}
}
}
......
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