summaryrefslogtreecommitdiffstats
path: root/libavcodec/rectangle.h
diff options
context:
space:
mode:
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 43f89c9..2ce80e1 100644
--- a/libavcodec/rectangle.h
+++ b/libavcodec/rectangle.h
@@ -47,7 +47,7 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride,
w *= size;
stride *= size;
- av_assert2((((long)vp)&(FFMIN(w, STRIDE_ALIGN)-1)) == 0);
+ av_assert2((((long)vp)&(FFMIN(w, 8<<(HAVE_NEON|ARCH_PPC|HAVE_MMX))-1)) == 0);
av_assert2((stride&(w-1))==0);
if(w==2){
const uint16_t v= size==4 ? val : val*0x0101;
OpenPOWER on IntegriCloud