3rd and hopefully last 100l fix.

Originally committed as revision 22041 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Michael Niedermayer 15 years ago
parent 3393bff10d
commit 09ef1ace4b
  1. 2
      libavcodec/rectangle.h

@ -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;

Loading…
Cancel
Save