avconv: cosmetics
authorAnton Khirnov <anton@khirnov.net>
Sat, 4 Aug 2012 10:06:30 +0000 (12:06 +0200)
committerAnton 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

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;