diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-24 21:55:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-24 21:55:55 +0000 |
commit | 377fc38d5d321a57eab96e5decc4ee794c633b96 (patch) | |
tree | 2a00f23fc7993a5e8fb4734c4cbdd06cca402f49 /libavcodec/rectangle.h | |
parent | b5bd070029a2091e16641c6be18c5ec101ba0480 (diff) | |
download | ffmpeg-377fc38d5d321a57eab96e5decc4ee794c633b96.tar.gz |
Try to fix 100l compilation failure on some systems.
Originally committed as revision 22039 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rectangle.h')
-rw-r--r-- | libavcodec/rectangle.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libavcodec/rectangle.h b/libavcodec/rectangle.h index b9b2103b45..a367343676 100644 --- a/libavcodec/rectangle.h +++ b/libavcodec/rectangle.h @@ -99,23 +99,23 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride, *(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); |