• Anton Khirnov's avatar
    svq1: do not modify the input packet · 7b588bb6
    Anton Khirnov authored
    The input data must remain constant, make a copy instead. This is in
    theory a performance hit, but since I failed to find any samples
    using this feature, this should not matter in practice.
    
    Also, check the size of the header, avoiding invalid reads on truncated
    data.
    
    CC:libav-stable@libav.org
    7b588bb6
svq1dec.c 27.1 KB