Luca Barbato <[email protected]> writes:

> +                *(uint32_t*)&dst[0  + y * stride] = color4;
> +                *(uint32_t*)&dst[4  + y * stride] = color4;
> +                *(uint32_t*)&dst[8  + y * stride] = color4;
> +                *(uint32_t*)&dst[12 + y * stride] = color4;
> +                *(uint32_t*)&dst[16 + y * stride] = color4;
> +                *(uint32_t*)&dst[20 + y * stride] = color4;
> +                *(uint32_t*)&dst[24 + y * stride] = color4;
> +                *(uint32_t*)&dst[28 + y * stride] = color4;

If you're anyway editing this, you might as well make it use the
AV_WN32A() macro as it should.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to