assrender: refactor blitting, avoid writing past end of buffer
authorDavid Schleef <ds@schleef.org>
Fri, 15 Apr 2011 03:46:52 +0000 (20:46 -0700)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 16 Apr 2011 11:10:14 +0000 (12:10 +0100)
commit51e6acad1f6d0bfe9f139bc2d82718f3800a3e2f
tree5b22a04e5c05908f6e35202e5ab29475c0d27107
parentb18bf6a018112b3321dbd0ce760fef5820dfec8f
assrender: refactor blitting, avoid writing past end of buffer

Previous blitting code could potentially write past the
end of the buffer if the x or y position was odd, and for
the same underlying reason, didn't get the chroma registration
correct in the odd position case.

https://bugzilla.gnome.org/show_bug.cgi?id=647830
ext/assrender/gstassrender.c