[FFmpeg-cvslog] r9713 - trunk/tools/cws2fws.c
benoit
subversion
Tue Jul 17 10:29:59 CEST 2007
Author: benoit
Date: Tue Jul 17 10:29:59 2007
New Revision: 9713
Log:
revert my accidental previous commit
Modified:
trunk/tools/cws2fws.c
Modified: trunk/tools/cws2fws.c
==============================================================================
--- trunk/tools/cws2fws.c (original)
+++ trunk/tools/cws2fws.c Tue Jul 17 10:29:59 2007
@@ -16,7 +16,7 @@
#ifdef DEBUG
#define dbgprintf printf
#else
-#define dbgprintf(...)
+#define dbgprintf
#endif
int main(int argc, char *argv[])
@@ -111,13 +111,13 @@ int main(int argc, char *argv[])
if (zstream.total_out != uncomp_len-8)
{
- printf("Size mismatch (%lu != %d), updating header...\n",
+ printf("Size mismatch (%d != %d), updating header...\n",
zstream.total_out, uncomp_len-8);
buf_in[0] = (zstream.total_out+8) & 0xff;
- buf_in[1] = ((zstream.total_out+8) >> 8) & 0xff;
- buf_in[2] = ((zstream.total_out+8) >> 16) & 0xff;
- buf_in[3] = ((zstream.total_out+8) >> 24) & 0xff;
+ buf_in[1] = (zstream.total_out+8 >> 8) & 0xff;
+ buf_in[2] = (zstream.total_out+8 >> 16) & 0xff;
+ buf_in[3] = (zstream.total_out+8 >> 24) & 0xff;
lseek(fd_out, 4, SEEK_SET);
write(fd_out, &buf_in, 4);
More information about the ffmpeg-cvslog
mailing list