level: Use the correct number of samples to iterate over the input array
authorSebastian Dröge <sebastian@centricular.com>
Wed, 16 Apr 2014 16:49:43 +0000 (18:49 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 16 Apr 2014 16:50:50 +0000 (18:50 +0200)
commitb21b46a07a758679be4917474df655fcc1c3453b
tree073f88cc77965890970843c8452724ffde7d9391
parentbd65c36cbb3321c0eb762dcaa1cc2435510f6e2a
level: Use the correct number of samples to iterate over the input array

Fixes invalid memory accesses and accesses to uninitialised data.
gst/level/gstlevel.c