[SCM] libav/experimental: revert my accidental previous commit

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:03:57 UTC 2013


The following commit has been merged in the experimental branch:
commit 21f41fa667d19f4fb46fceb815c23bd6d0e95b1a
Author: Benoit Fouet <benoit.fouet at free.fr>
Date:   Tue Jul 17 08:29:59 2007 +0000

    revert my accidental previous commit
    
    Originally committed as revision 9713 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tools/cws2fws.c b/tools/cws2fws.c
index 0eae4b0..f81e2e2 100644
--- a/tools/cws2fws.c
+++ b/tools/cws2fws.c
@@ -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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list