Skip to content
  • David Barker's avatar
    Fix some UBSan warnings · 185575a7
    David Barker authored
    * Make intermediate arrays in av1(_highbd)_warp_affine_c signed,
      to avoid integer overflow when multiplying an 'unsigned int'
      by a negative 'int' value.
    * Pad out arrays in so that the array
      stride is a multiple of 16 bytes.
      This fixes some UBSan errors in masked_variance_intrin_ssse3.c
      related to unaligned loads of 32-bit values.
    Change-Id: I0cf786c94870ff128c883bed8e900b0686afc3f7