summaryrefslogtreecommitdiffstats
path: root/libavcodec/rectangle.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-24 22:13:20 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-24 22:13:20 +0000
commit09ef1ace4be1f6767013f5502a609723b2d048b1 (patch)
tree89fabe7dfd75db3b1d86bd8ed4f9cd97ca106924 /libavcodec/rectangle.h
parent3393bff10d81fecc7e0ae702a038e315a8284301 (diff)
downloadffmpeg-streaming-09ef1ace4be1f6767013f5502a609723b2d048b1.zip
ffmpeg-streaming-09ef1ace4be1f6767013f5502a609723b2d048b1.tar.gz
3rd and hopefully last 100l fix.
Originally committed as revision 22041 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rectangle.h')
-rw-r--r--libavcodec/rectangle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rectangle.h b/libavcodec/rectangle.h
index e26d70f..787ff2d 100644
--- a/libavcodec/rectangle.h
+++ b/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;
OpenPOWER on IntegriCloud