summaryrefslogtreecommitdiffstats
path: root/libavcodec/rectangle.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-14 11:00:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-14 11:00:22 +0100
commit8bbb487e443a7979f223759a5d6c2d7662a5948d (patch)
treedfcc859ca0fb087b36c4f7961f6e9e252fea7fdd /libavcodec/rectangle.h
parent9f16cb9e50a5a196af9244dc7d33ed193227528a (diff)
parent130cefc9dcedea5babc349251fbeec6f037144ac (diff)
downloadffmpeg-streaming-8bbb487e443a7979f223759a5d6c2d7662a5948d.zip
ffmpeg-streaming-8bbb487e443a7979f223759a5d6c2d7662a5948d.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: doc/platform: Fix 10l typo dsputil: Move STRIDE_ALIGN macro to the only place it is used Conflicts: libavcodec/dsputil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
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