[FFmpeg-cvslog] r22039 - trunk/libavcodec/rectangle.h

michael subversion
Wed Feb 24 22:55:55 CET 2010


Author: michael
Date: Wed Feb 24 22:55:55 2010
New Revision: 22039

Log:
Try to fix 100l compilation failure on some systems.

Modified:
   trunk/libavcodec/rectangle.h

Modified: trunk/libavcodec/rectangle.h
==============================================================================
--- trunk/libavcodec/rectangle.h	Wed Feb 24 21:43:06 2010	(r22038)
+++ trunk/libavcodec/rectangle.h	Wed Feb 24 22:55:55 2010	(r22039)
@@ -99,23 +99,23 @@ static av_always_inline void fill_rectan
         *(uint32_t*)(p + 0+3*stride)= v;
         *(uint32_t*)(p + 4+3*stride)= v;
     }else if(w==16){
-        *(uint32_t*)(p + 0+0*stride)= v;
-        *(uint32_t*)(p + 4+0*stride)= v;
-        *(uint32_t*)(p + 8+0*stride)= v;
-        *(uint32_t*)(p +12+0*stride)= v;
-        *(uint32_t*)(p + 0+1*stride)= v;
-        *(uint32_t*)(p + 4+1*stride)= v;
-        *(uint32_t*)(p + 8+1*stride)= v;
-        *(uint32_t*)(p +12+1*stride)= v;
+        *(uint32_t*)(p + 0+0*stride)= val;
+        *(uint32_t*)(p + 4+0*stride)= val;
+        *(uint32_t*)(p + 8+0*stride)= val;
+        *(uint32_t*)(p +12+0*stride)= val;
+        *(uint32_t*)(p + 0+1*stride)= val;
+        *(uint32_t*)(p + 4+1*stride)= val;
+        *(uint32_t*)(p + 8+1*stride)= val;
+        *(uint32_t*)(p +12+1*stride)= val;
         if(h==2) return;
-        *(uint32_t*)(p + 0+2*stride)= v;
-        *(uint32_t*)(p + 4+2*stride)= v;
-        *(uint32_t*)(p + 8+2*stride)= v;
-        *(uint32_t*)(p +12+2*stride)= v;
-        *(uint32_t*)(p + 0+3*stride)= v;
-        *(uint32_t*)(p + 4+3*stride)= v;
-        *(uint32_t*)(p + 8+3*stride)= v;
-        *(uint32_t*)(p +12+3*stride)= v;
+        *(uint32_t*)(p + 0+2*stride)= val;
+        *(uint32_t*)(p + 4+2*stride)= val;
+        *(uint32_t*)(p + 8+2*stride)= val;
+        *(uint32_t*)(p +12+2*stride)= val;
+        *(uint32_t*)(p + 0+3*stride)= val;
+        *(uint32_t*)(p + 4+3*stride)= val;
+        *(uint32_t*)(p + 8+3*stride)= val;
+        *(uint32_t*)(p +12+3*stride)= val;
 #endif
     }else
         assert(0);



More information about the ffmpeg-cvslog mailing list