changeset 11278:bd5ea8e6f1d3 libavcodec

Try to fix 100l compilation failure on some systems.
author michael
date Wed, 24 Feb 2010 21:55:55 +0000
parents c12d6c6c027e
children 08fdccf61a03
files rectangle.h
diffstat 1 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/rectangle.h	Wed Feb 24 20:43:06 2010 +0000
+++ b/rectangle.h	Wed Feb 24 21:55:55 2010 +0000
@@ -99,23 +99,23 @@
         *(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);