]> git.sesse.net Git - ffmpeg/blobdiff - cws2fws.c
Some more minor spelling improvements, some grammar improvement might be
[ffmpeg] / cws2fws.c
index 61f12940d54b51d3af31a108d47de6b5d4b513f9..ef40f31592e1202bcd2be1047d1b9250f356704b 100644 (file)
--- a/cws2fws.c
+++ b/cws2fws.c
@@ -8,6 +8,8 @@
 
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <zlib.h>
 
@@ -17,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];
@@ -124,4 +126,5 @@ main(int argc, char *argv[])
     inflateEnd(&zstream);
     close(fd_in);
     close(fd_out);
+    return 0;
 }