Commit b0ddba12 authored by Michael Niedermayer's avatar Michael Niedermayer

void arithmetic

Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1bc0a44d
......@@ -171,7 +171,7 @@ static inline void linecpy(void *dest, void *src, int lines, int stride)
if (stride > 0) {
memcpy(dest, src, lines*stride);
} 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