summaryrefslogtreecommitdiffstats
path: root/libavcodec/rectangle.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-08 15:55:24 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-11 16:23:09 +0100
commit6fb296e97edcf455350fe01493c9dc3847044c5f (patch)
treea39d1b0b79da6c86586f252a2087638dd23831b4 /libavcodec/rectangle.h
parent375ef6528c9dd2db7f9881e232cb0ec3aa16970d (diff)
downloadffmpeg-streaming-6fb296e97edcf455350fe01493c9dc3847044c5f.zip
ffmpeg-streaming-6fb296e97edcf455350fe01493c9dc3847044c5f.tar.gz
avcodec/rectangle: Remove nonsense assert
Diffstat (limited to 'libavcodec/rectangle.h')
-rw-r--r--libavcodec/rectangle.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/rectangle.h b/libavcodec/rectangle.h
index 5cc81fe..f18f667 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;
OpenPOWER on IntegriCloud