mlvdec: check that index_entries exist
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 19 Dec 2015 22:44:53 +0000 (23:44 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 20 Dec 2015 15:13:48 +0000 (16:13 +0100)
commitf0eea9cc3a112f69991ffba79d6ca224d9eb60f5
tree007b64b92a2cc1e568b9074c1f77797fc57a3827
parentbbe1c9839bb96f0a3988a3fdbb56283faf7f36fb
mlvdec: check that index_entries exist

This fixes NULL pointer dereferencing.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 9fcfe4a3cdf9a5af0c37758b178965b7b99582d4)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/mlvdec.c