aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-04 12:06:30 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-08 20:15:13 +0200
commitc0fbf9713c5e167501007351532de2400060c7e6 (patch)
treed5e68f4a38a62a365123fe2a7a2c127bedf12785
parent0b26ef4228671051eef1bba92da37a53e56714da (diff)
downloadffmpeg-c0fbf9713c5e167501007351532de2400060c7e6.tar.gz
avconv: cosmetics
Replace for (;foo == 0;) with while (!foo) This is prettier.
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index 416c07c109..e6ace30151 100644
--- 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;