On 02/12/11 18:55, Måns Rullgård wrote:
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.


I'd do later as well adding the change suggested by Ronald.

lu

--

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to