Skip to content
  • wtaymans's avatar
    cheese: improve format parsing · 52c9e999
    wtaymans authored
    Check if both width and height are of the expected value type.
    
    Check if width and height are > 0 before adding the format as a
    valid format. Adding 0x0 resolutions causes a divide by 0 later
    when we calculate aspect ratios.
    52c9e999