[FFmpeg-cvslog] r11812 - trunk/libpostproc/postprocess_internal.h

michael subversion
Sat Feb 2 18:12:17 CET 2008


Author: michael
Date: Sat Feb  2 18:12:17 2008
New Revision: 11812

Log:
void arithmetic


Modified:
   trunk/libpostproc/postprocess_internal.h

Modified: trunk/libpostproc/postprocess_internal.h
==============================================================================
--- trunk/libpostproc/postprocess_internal.h	(original)
+++ trunk/libpostproc/postprocess_internal.h	Sat Feb  2 18:12:17 2008
@@ -171,7 +171,7 @@ static inline void linecpy(void *dest, v
         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);
         }
 }
 




More information about the ffmpeg-cvslog mailing list