Revision 3d7b42f9 libavformat/network.h

View differences:

libavformat/network.h
70 70

  
71 71
#if !HAVE_STRUCT_SOCKADDR_STORAGE
72 72
struct sockaddr_storage {
73
    struct sockaddr_in x;
73
#if HAVE_STRUCT_SOCKADDR_SA_LEN
74
    uint8_t ss_len;
75
    uint8_t ss_family;
76
#else
77
    uint16_t ss_family;
78
#endif
79
    char ss_pad1[6];
80
    int64_t ss_align;
81
    char ss_pad2[112];
74 82
};
75 83
#endif
76 84

  

Also available in: Unified diff