Commit 214019ed authored by Reimar Döffinger's avatar Reimar Döffinger

Avoid void *-arithmetic

Originally committed as revision 6590 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 76808d6e
......@@ -166,9 +166,9 @@ int lzo1x_decode(void *out, int *outlen, void *in, int *inlen) {
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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment