ff_h264_direct_ref_list_init: fix B slice check.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 18 Nov 2012 17:46:05 +0000 (18:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 18 Nov 2012 18:10:57 +0000 (19:10 +0100)
commit36cf247e4302afcb09e995ad1c594d97897d17ba
tree6ef65d80b02d40775cb10f138f76cfe69295ec6f
parent9f02d4ed0f72c017dba6fb71d5997c632aa52c08
ff_h264_direct_ref_list_init: fix B slice check.

Fixes null pointer dereference.

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