3rd and hopefully last 100l fix.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Feb 2010 22:13:20 +0000 (22:13 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Feb 2010 22:13:20 +0000 (22:13 +0000)
Originally committed as revision 22041 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rectangle.h

index e26d70f8a4a373ae725f15402c44e78e4f9e91ff..787ff2d4009dba87268b3ce277873527d8b18c5f 100644 (file)
@@ -87,7 +87,7 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride,
         *(uint64_t*)(p + 0+3*stride)= v;
         *(uint64_t*)(p + 8+3*stride)= v;
 #else
-        const uint32_t v= size==2 ? val*0x00010001 : val*0x01010101;
+        const uint32_t v= size==2 ? val*0x00010001 : val;
         *(uint32_t*)(p + 0+0*stride)= v;
         *(uint32_t*)(p + 4+0*stride)= v;
         if(h==1) return;