1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Avoid void *-arithmetic

Originally committed as revision 6590 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2006-10-08 14:32:27 +00:00
parent 76808d6e7e
commit 214019ed32

View File

@ -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) {