Revision 36ffabc4 libavformat/riff.h

View differences:

libavformat/riff.h
56 56

  
57 57
typedef uint8_t ff_asf_guid[16];
58 58

  
59
#define FF_PRI_GUID \
60
    "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x"
61
#define FF_ARG_GUID(g) \
62
    g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]
63

  
59 64
static av_always_inline int ff_guidcmp(const void *g1, const void *g2)
60 65
{
61 66
    return memcmp(g1, g2, sizeof(ff_asf_guid));
......
63 68

  
64 69
void ff_get_guid(AVIOContext *s, ff_asf_guid *g);
65 70

  
71
typedef struct {
72
    enum CodecID id;
73
    ff_asf_guid guid;
74
} AVCodecGuid;
75

  
76
enum CodecID ff_codec_guid_get_id(const AVCodecGuid *guids, ff_asf_guid guid);
77

  
78
extern const AVCodecGuid ff_codec_wav_guids[];
79

  
80
#define FF_MEDIASUBTYPE_BASE_GUID \
81
    0x00,0x00,0x10,0x00,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71
82

  
66 83
#endif /* AVFORMAT_RIFF_H */

Also available in: Unified diff