av_probe_input_format3: support NULL as buffer. Fixes null ptr deref
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Nov 2012 21:20:44 +0000 (22:20 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Nov 2012 21:21:10 +0000 (22:21 +0100)
commitaf9ec3dd1d9e90ec8134b01074b7beb01a1beb1a
tree48708cd2dbc84d7fb0770a742cb26e02f323b53d
parent001af703c6bff7cb8009db3ac882b8d929d67d9e
av_probe_input_format3: support NULL as buffer. Fixes null ptr deref

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