mirror of https://git.ffmpeg.org/ffmpeg.git
void arithmetic
Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1bc0a44d79
commit
b0ddba1291
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue