void arithmetic

Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent 1bc0a44d79
commit b0ddba1291
  1. 2
      libpostproc/postprocess_internal.h

@ -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…
Cancel
Save