lang: fix possible array overrun
authorStefan Kost <ensonic@users.sf.net>
Fri, 20 May 2011 07:48:39 +0000 (10:48 +0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 14 Jun 2011 13:08:33 +0000 (14:08 +0100)
commit9497409483940d9178f70eb0d1387444ccb8694e
tree2dc98a1e419c3d8d78c1f514564c5d49bee61d4a
parentffc3cece6ce5e7fb069b7d1eb135039e6ac6052f
lang: fix possible array overrun

We where checking for i<G_N_ELEMENTS, but where accessing i+1.
gst-libs/gst/tag/lang.c