diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-02 20:12:17 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-02 20:12:17 +0300 |
commit | b0ddba1291a62ffd7d4ee0dc50ebc540c3651760 (patch) | |
tree | 00b17f094eb4f0841058f7f9357dc05914b82d31 /libpostproc/postprocess_internal.h | |
parent | 1bc0a44d79982863897455aecb47484f7e51e3e8 (diff) |
void arithmetic
Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess_internal.h')
-rw-r--r-- | libpostproc/postprocess_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpostproc/postprocess_internal.h b/libpostproc/postprocess_internal.h index 5abd30f2ea..2444016673 100644 --- a/libpostproc/postprocess_internal.h +++ b/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); } } |