Commit 6fb296e9 authored by Diego Biurrun's avatar Diego Biurrun

avcodec/rectangle: Remove nonsense assert

parent 375ef652
...@@ -47,7 +47,6 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride, ...@@ -47,7 +47,6 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride,
w *= size; w *= size;
stride *= size; stride *= size;
assert((((long)vp)&(FFMIN(w, STRIDE_ALIGN)-1)) == 0);
assert((stride&(w-1))==0); assert((stride&(w-1))==0);
if(w==2){ if(w==2){
const uint16_t v= size==4 ? val : val*0x0101; const uint16_t v= size==4 ? val : val*0x0101;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment