1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/rectangle: Remove nonsense assert

This commit is contained in:
Diego Biurrun 2013-02-08 15:55:24 +01:00
parent 375ef6528c
commit 6fb296e97e

View File

@ -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;