[FFmpeg-cvslog] avconv: cosmetics
Anton Khirnov
git at videolan.org
Thu Aug 9 15:42:10 CEST 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Aug 4 12:06:30 2012 +0200| [c0fbf9713c5e167501007351532de2400060c7e6] | committer: Anton Khirnov
avconv: cosmetics
Replace for (;foo == 0;) with while (!foo)
This is prettier.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0fbf9713c5e167501007351532de2400060c7e6
---
avconv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/avconv.c b/avconv.c
index 416c07c..e6ace30 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;
More information about the ffmpeg-cvslog
mailing list