aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-08-08 18:55:49 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-08-08 18:55:49 +0000
commiteeffbdea973f10a9ab5cb2f26e57e295235a2af9 (patch)
treebde187bd612a4503114ccf939637600172b0db56
parent81d6d520c050695ad842b2da690839298ed7e104 (diff)
downloadffmpeg-eeffbdea973f10a9ab5cb2f26e57e295235a2af9.tar.gz
cosmetic: remove extra parenthesis
Originally committed as revision 9985 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffserver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ffserver.c b/ffserver.c
index 8525f7be79..f401e426a1 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -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;
- }
}
}