]> git.sesse.net Git - ffmpeg/blobdiff - cws2fws.c
Some more minor spelling improvements, some grammar improvement might be
[ffmpeg] / cws2fws.c
index eb02f58171924cc5b6cff5251751caac28a0830f..ef40f31592e1202bcd2be1047d1b9250f356704b 100644 (file)
--- a/cws2fws.c
+++ b/cws2fws.c
@@ -1,5 +1,6 @@
 /*
- * cws2fws by Alex Beregszaszi <alex@fsn.hu>
+ * cws2fws by Alex Beregszaszi
+ * Public domain.
  *
  * This utility converts compressed Macromedia Flash files to uncompressed ones.
  *
@@ -7,6 +8,8 @@
 
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <zlib.h>
 
@@ -16,9 +19,9 @@
 #define dbgprintf
 #endif
 
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
 {
-    int fd_in, fd_out, comp_len, uncomp_len, tag, i, last_out;
+    int fd_in, fd_out, comp_len, uncomp_len, i, last_out;
     char buf_in[1024], buf_out[65536];
     z_stream zstream;
     struct stat statbuf;
@@ -123,4 +126,5 @@ main(int argc, char *argv[])
     inflateEnd(&zstream);
     close(fd_in);
     close(fd_out);
+    return 0;
 }