Commit 4ca85a18 authored by michael's avatar michael

void arithmetic


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11812 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4f962c03
...@@ -171,7 +171,7 @@ static inline void linecpy(void *dest, void *src, int lines, int stride) ...@@ -171,7 +171,7 @@ static inline void linecpy(void *dest, void *src, int lines, int stride)
if (stride > 0) { if (stride > 0) {
memcpy(dest, src, lines*stride); memcpy(dest, src, lines*stride);
} else { } else {
memcpy(dest+(lines-1)*stride, src+(lines-1)*stride, -lines*stride); memcpy((uint8_t*)dest+(lines-1)*stride, (const uint8_t*)src+(lines-1)*stride, -lines*stride);
} }
} }
......
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