videotestsrc: Fix crashes with even widths
authorBenjamin Otte <otte@gnome.org>
Fri, 11 Sep 2009 20:09:06 +0000 (22:09 +0200)
committerBenjamin Otte <otte@gnome.org>
Fri, 11 Sep 2009 20:14:25 +0000 (22:14 +0200)
commit26c068e9e52114d94cdb1c3da5199f11974fdeb0
tree0b0414c79b3ed5e8d3d9b13975ae00e6b2cfc40f
parent91c3a2396396be493632d14b034ed29aa0c303e1
videotestsrc: Fix crashes with even widths

The fix for green lines introduced by commit
35fdfcc6258c66ba462a4330a35deffb0f2b501d caused invalid memory accesses
for even widths. This patch fixes it.
gst/videotestsrc/videotestsrc.c