]> git.sesse.net Git - ffmpeg/commitdiff
Make main() return 0 at the end and mark as int.
authorDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 14:14:47 +0000 (14:14 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 14:14:47 +0000 (14:14 +0000)
Originally committed as revision 9269 to svn://svn.ffmpeg.org/ffmpeg/trunk

cws2fws.c

index 5d8f524b7a1c1131e51bf1ed5e344a7f1f4e279a..ef40f31592e1202bcd2be1047d1b9250f356704b 100644 (file)
--- a/cws2fws.c
+++ b/cws2fws.c
@@ -19,7 +19,7 @@
 #define dbgprintf
 #endif
 
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
 {
     int fd_in, fd_out, comp_len, uncomp_len, i, last_out;
     char buf_in[1024], buf_out[65536];
@@ -126,4 +126,5 @@ main(int argc, char *argv[])
     inflateEnd(&zstream);
     close(fd_in);
     close(fd_out);
+    return 0;
 }