projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d6d52
)
cosmetic: remove extra parenthesis
author
Alex Beregszaszi
<alex@rtfs.hu>
Wed, 8 Aug 2007 18:55:49 +0000
(18:55 +0000)
committer
Alex Beregszaszi
<alex@rtfs.hu>
Wed, 8 Aug 2007 18:55:49 +0000
(18:55 +0000)
Originally committed as revision 9985 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
8525f7b
..
f401e42
100644
(file)
--- 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;
- }
}
}