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 10:57:54 +0000 (11:57 +0100)
commit9fcfe4a3cdf9a5af0c37758b178965b7b99582d4
treec754488ea25dd7353fa616e5168740c173fe3d1f
parent70f13abb4f9a376ddc0d2c566739bc3c6a0c47e7
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>
libavformat/mlvdec.c