avformat/bink: Check return value of av_add_index_entry()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 17 Feb 2014 22:44:49 +0000 (23:44 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 17 Feb 2014 22:47:05 +0000 (23:47 +0100)
commitc57fc97e956a52edc94a38ff0ecd3058b44c15b7
tree4d9ffd547dab898505fcf30bcde044f72b087c9d
parent6742614c231b5e0ad2615c40afd1b71ac90d466b
avformat/bink: Check return value of av_add_index_entry()

Fixes null pointer dereference
Fixes: cdbf15cbd0a27cee958dd0b8800e452e-signal_sigsegv_737991_2083_cov_317652874_LBSTART.BIK
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/bink.c