mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
Avoid void *-arithmetic
Originally committed as revision 6590 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
76808d6e7e
commit
214019ed32
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user