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 14:06:27 +0000 (15:06 +0100)
commitc51800d324a9a86dcc84a57d29fff8f9d8f5b1e3
tree101bb20b57a9b6c1e7b3b314da340a788d9868ea
parent4d2f9368034353037ae4fb96c1156848fe0ebe7a
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