• Martin Storsjö's avatar
    svq3: Avoid a division by zero · 601c2015
    Martin Storsjö authored
    If the height is zero, the decompression will probably end up
    failing due to not fitting into the allocated buffer later
    anyway, so this doesn't need any more elaborate check.
    
    Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    CC: libav-stable@libav.org
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    601c2015
svq3.c 47.2 KB