mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-29 05:30:20 +00:00
avcodec/rectangle: use uintptr_t for integer pointer type
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
0cd999266f
commit
49cfafefd4
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride,
|
|||
w *= size;
|
||||
stride *= size;
|
||||
|
||||
av_assert2((((long)vp)&(FFMIN(w, 8<<(HAVE_NEON|ARCH_PPC|HAVE_MMX))-1)) == 0);
|
||||
av_assert2((((uintptr_t)vp)&(FFMIN(w, 8<<(HAVE_NEON|ARCH_PPC|HAVE_MMX))-1)) == 0);
|
||||
av_assert2((stride&(w-1))==0);
|
||||
if(w==2){
|
||||
const uint16_t v= size==4 ? val : val*0x0101;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue