Commit 80e291af authored by Timothy Nikkel's avatar Timothy Nikkel Committed by Pier Angelo Vendrame
Browse files

Bug 2027287. a=diannaS DONTBUILD

parent 74fc146c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1108,7 +1108,8 @@ int YUVToARGBScale(const uint8_t* src_y, int src_stride_y,
                   enum FilterMode filtering)
{
  if (!src_y || !src_u || !src_v ||
      src_width == 0 || src_height == 0 ||
      src_width <= 0 || src_height <= 0 ||
      src_width > 32768 || src_height > 32768 ||
      !dst_argb || dst_width <= 0 || dst_height <= 0) {
    return -1;
  }