mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02: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;
|
int x;
|
||||||
LZOContext c;
|
LZOContext c;
|
||||||
c.in = in;
|
c.in = in;
|
||||||
c.in_end = in + *inlen;
|
c.in_end = (uint8_t *)in + *inlen;
|
||||||
c.out = c.out_start = out;
|
c.out = c.out_start = out;
|
||||||
c.out_end = out + * outlen;
|
c.out_end = (uint8_t *)out + * outlen;
|
||||||
c.error = 0;
|
c.error = 0;
|
||||||
x = get_byte(&c);
|
x = get_byte(&c);
|
||||||
if (x > 17) {
|
if (x > 17) {
|
||||||
|
Loading…
Reference in New Issue
Block a user