• Ronald S. Bultje's avatar
    h264: disallow constrained intra prediction modes for luma. · 45b7bd7c
    Ronald S. Bultje authored
    Conversion of the luma intra prediction mode to one of the constrained
    ("alzheimer") ones can happen by crafting special bitstreams, causing
    a crash because we'll call a NULL function pointer for 16x16 block intra
    prediction, since constrained intra prediction functions are only
    implemented for chroma (8x8 blocks).
    
    Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    CC: libav-stable@libav.org
    45b7bd7c