OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76808d6
)
Avoid void *-arithmetic
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 8 Oct 2006 14:32:27 +0000
(14:32 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 8 Oct 2006 14:32:27 +0000
(14:32 +0000)
Originally committed as revision 6590 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/lzo.c
patch
|
blob
|
history
diff --git
a/libavcodec/lzo.c
b/libavcodec/lzo.c
index
9729f99
..
015c80d
100644
(file)
--- a/
libavcodec/lzo.c
+++ b/
libavcodec/lzo.c
@@
-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) {