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 13:18:04 +0000 (14:18 +0100)
commit93eda8dcbadfe375a7fe99592e4097c08deb06d1
tree0fc835bf53fc1a1621ba9beb9c1808c6672c5c34
parent1dc135e03d83d14274e3049011396a5bcb36e464
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