matroskadec: check headerstrip data availability.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Apr 2012 15:12:22 +0000 (17:12 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Apr 2012 15:58:19 +0000 (17:58 +0200)
commit2677697ac93a5de731aac598e863bd8bbe3b3a53
tree7f8af382dffdfb36988bf86d1f3ee21764182cc2
parenta80217a5eec821fa9027eaf59ace95187843d320
matroskadec: check headerstrip data availability.

Fixes null ptr dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskadec.c