matroska: fix check for amount of data to read
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 16 Apr 2014 16:29:30 +0000 (17:29 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 16 Apr 2014 16:44:51 +0000 (17:44 +0100)
commit457712b933b366d86d287acb44f340e65274845b
tree05af00dfc05dd0629ddfd05d568dd97aacd8acaf
parent46a39bdd4f6876f20472baebc6420b6529894bc6
matroska: fix check for amount of data to read

History shows length==0 should set data to NULL and return,
so we do that too instead of trying to read nothing.

Coverity 206205
gst/matroska/ebml-read.c