[Ffmpeg-cvslog] r6590 - trunk/libavcodec/lzo.c

reimar subversion
Sun Oct 8 16:32:28 CEST 2006


Author: reimar
Date: Sun Oct  8 16:32:27 2006
New Revision: 6590

Modified:
   trunk/libavcodec/lzo.c

Log:
Avoid void *-arithmetic


Modified: trunk/libavcodec/lzo.c
==============================================================================
--- trunk/libavcodec/lzo.c	(original)
+++ trunk/libavcodec/lzo.c	Sun Oct  8 16:32:27 2006
@@ -166,9 +166,9 @@
     int x;
     LZOContext c;
     c.in = in;
-    c.in_end = in + *inlen;
+    c.in_end = (uint8_t *)in + *inlen;
     c.out = c.out_start = out;
-    c.out_end = out + * outlen;
+    c.out_end = (uint8_t *)out + * outlen;
     c.error = 0;
     x = get_byte(&c);
     if (x > 17) {




More information about the ffmpeg-cvslog mailing list