avformat/matroskadec: Properly check return values
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 16 May 2019 22:29:54 +0000 (00:29 +0200)
committerJames Almer <jamrial@gmail.com>
Tue, 25 Jun 2019 01:19:03 +0000 (22:19 -0300)
commita27e5398e2d0e8af7eaa35001ea920d717fe9e38
tree3c2b9939b10ac7878bcabe1f669cd8eba6921fb4
parent1215b3a5f3f801f1f3179b9c29a0d52f906eef98
avformat/matroskadec: Properly check return values

Up until now, webm_dash_manifest_cues used the return values of
ebml_read_num and ebml_read_length without checking for errors,
i.e. return values < 0. This has been changed.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskadec.c