aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-06-10 14:14:47 +0000
committerDiego Biurrun <diego@biurrun.de>2007-06-10 14:14:47 +0000
commit226cbe07c72370172674e2dd57bbc7ac8b48867e (patch)
treeafd7ac329dc0c8b6326d9745e9f597368f175436
parenta65bafeff018b42b2c6341e172867e213212a7b0 (diff)
downloadffmpeg-226cbe07c72370172674e2dd57bbc7ac8b48867e.tar.gz
Make main() return 0 at the end and mark as int.
Originally committed as revision 9269 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--cws2fws.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cws2fws.c b/cws2fws.c
index 5d8f524b7a..ef40f31592 100644
--- 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;
}