• Anton Khirnov's avatar
    h264_cavlc: check the value of run_before · 522d850e
    Anton Khirnov authored
    Section 9.2.3.2 of the spec implies that run_before must not be larger
    than zeros_left.
    
    Fixes invalid reads with corrupted files.
    
    CC: libav-stable@libav.org
    Bug-Id: 1000
    Found-By: Kamil Frankowicz
    522d850e
h264_cavlc.c 44.5 KB