padtemplate: Fix null pointer dereference on invalid static caps
authorJan Schmidt <jan@centricular.com>
Mon, 2 Jan 2017 15:12:27 +0000 (02:12 +1100)
committerJan Schmidt <jan@centricular.com>
Mon, 2 Jan 2017 15:21:10 +0000 (02:21 +1100)
commit246618125f419a8a6cbb8f5534b151623e46828c
tree5d5aae5853def561f98348b5818b913b07f0a2da
parent269699f621d3d937e590e426c4dec618ef75f2cb
padtemplate: Fix null pointer dereference on invalid static caps

A typo in a static caps string may result in failure to
deserialise it, so don't dereference the result without
checking.
gst/gstpadtemplate.c