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:
0b26ef4
)
avconv: cosmetics
author
Anton Khirnov
<anton@khirnov.net>
Sat, 4 Aug 2012 10:06:30 +0000
(12:06 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Wed, 8 Aug 2012 18:15:13 +0000
(20:15 +0200)
Replace for (;foo == 0;) with while (!foo)
This is prettier.
avconv.c
patch
|
blob
|
history
diff --git
a/avconv.c
b/avconv.c
index
416c07c
..
e6ace30
100644
(file)
--- a/
avconv.c
+++ b/
avconv.c
@@
-2136,7
+2136,7
@@
static int transcode(void)
goto fail;
#endif
-
for (; received_sigterm == 0;
) {
+
while (!received_sigterm
) {
int file_index, ist_index;
AVPacket pkt;