diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-02 17:12:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-02 17:12:17 +0000 |
commit | b0ddba1291a62ffd7d4ee0dc50ebc540c3651760 (patch) | |
tree | 00b17f094eb4f0841058f7f9357dc05914b82d31 | |
parent | 1bc0a44d79982863897455aecb47484f7e51e3e8 (diff) | |
download | ffmpeg-b0ddba1291a62ffd7d4ee0dc50ebc540c3651760.tar.gz |
void arithmetic
Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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); } } |