[FFmpeg-cvslog] avcodec/rectangle: Remove nonsense assert
Diego Biurrun
git at videolan.org
Tue Feb 12 13:11:35 CET 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Feb 8 15:55:24 2013 +0100| [6fb296e97edcf455350fe01493c9dc3847044c5f] | committer: Diego Biurrun
avcodec/rectangle: Remove nonsense assert
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6fb296e97edcf455350fe01493c9dc3847044c5f
---
libavcodec/rectangle.h | 1 -
1 file changed, 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list