Skip to content
  • Luis de Bethencourt's avatar
    rtp: value truncated too short creates dead code · e3d8d8ce
    Luis de Bethencourt authored
    type is truncated to 0-31 with "& 0x1f", but right after that it is checks if
    the value is equivalent to GST_H265_NAL_VPS, GST_H265_NAL_SPS, and
    GST_H265_NAL_PPS (which are 32, 33, and 34 respectively). Obviously, this will
    never be True if the value is maximum 31 after the truncation.
    The intention of the code was to truncate to 0-63.
    e3d8d8ce