diff --git a/libavcodec/rectangle.h b/libavcodec/rectangle.h index 5cc81feeaa..f18f667ad3 100644 --- a/libavcodec/rectangle.h +++ b/libavcodec/rectangle.h @@ -47,7 +47,6 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride, w *= size; stride *= size; - assert((((long)vp)&(FFMIN(w, STRIDE_ALIGN)-1)) == 0); assert((stride&(w-1))==0); if(w==2){ const uint16_t v= size==4 ? val : val*0x0101;