subparse: Add more parsing guards
authorJan Schmidt <jan@centricular.com>
Tue, 29 Mar 2016 11:16:38 +0000 (22:16 +1100)
committerJan Schmidt <jan@centricular.com>
Tue, 29 Mar 2016 11:19:47 +0000 (22:19 +1100)
commit1851777b94438fee8e5aea61decd6c9c1baffcc9
tree9ce4baf8e8f981f363a8d870ae87d288fab2174f
parent01778c5ac9bf44903f5b4c3f4f20618b2e26b4c4
subparse: Add more parsing guards

Insert extra checks for the validity of the incoming
data when parsing subrip/webvtt content and debug log
output for invalid content.

Should fix Coverity warnings.
gst/subparse/gstsubparse.c