avcodec/g2meet: check framebuf has been allocated before use
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 9 Jun 2013 00:29:35 +0000 (02:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 9 Jun 2013 01:09:26 +0000 (03:09 +0200)
commit6d3bcbb2114da4c3509dc4f6f68a9349590fb477
tree9f367a5477bd779c149ff2b83281e84387590341
parentc153ea4756ce41b9d09f864972b3bffe0ac0b8d4
avcodec/g2meet: check framebuf has been allocated before use

Fixes null pointer dereference

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