/* Extract a 16-bit fixed-point value and convert it to a float.  */
static gfloat tvb_get_fixed_point(tvbuff_t *, int, gint)
/* Extract a 16-bit fixed-point value and convert it to a float.  */
static gfloat tvb_get_fixed_point(tvbuff_t *, int, gint)
{
    gint16 fixed;
    if (rep & ENC_LITTLE_ENDIAN)
        fixed = tvb_get_letohs(tvb, offset);
    else
        fixed = tvb_get_ntohs(tvb, offset);
    return fixed / 128.0F;
}