You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avcodec/rectangle: Remove nonsense assert
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user