mpegts: fix sdt length check
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 9 Apr 2014 14:54:18 +0000 (15:54 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 9 Apr 2014 15:01:43 +0000 (16:01 +0100)
commit8f4123a88103a9fbc50d5afa19750ae4e0b92ca0
treeff70b8e51a12157ba7d1c0d3b025942ada7b411b
parent931150cb9102c2309188731d8fc602d9c8ac1c82
mpegts: fix sdt length check

It was originally test for 9 bytes (as the comment says) and was
rewritten buggily. So rewrite it a third way, which is now
hopefully consistent with the original and the comment, while
being more sense-making to humans.

Coverity 1139654
gst-libs/gst/mpegts/gst-dvb-section.c