subparse: Don't read beyond array
authorEdward Hervey <edward@centricular.com>
Wed, 30 May 2018 09:39:40 +0000 (11:39 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 30 May 2018 09:39:40 +0000 (11:39 +0200)
commit3ac37bbe67e44fd73aa4499c8041f7a97ed8d1fb
treea46085b1799577d8debadf6e70c8da6f6b2594c9
parent63e8900c4769ee02a489283cdf5506c8f24f6452
subparse: Don't read beyond array

If num_open_tags is 0, we shouldn't try to get the "last" open tag
since there isn't any.
gst/subparse/gstsubparse.c