Revision e63a3628 libavformat/au.c

View differences:

libavformat/au.c
127 127
    AVStream *st;
128 128

  
129 129
    /* check ".snd" header */
130
    tag = get_le32(pb);
130
    tag = avio_rl32(pb);
131 131
    if (tag != MKTAG('.', 's', 'n', 'd'))
132 132
        return -1;
133
    size = get_be32(pb); /* header size */
134
    get_be32(pb); /* data size */
133
    size = avio_rb32(pb); /* header size */
134
    avio_rb32(pb); /* data size */
135 135

  
136
    id = get_be32(pb);
137
    rate = get_be32(pb);
138
    channels = get_be32(pb);
136
    id = avio_rb32(pb);
137
    rate = avio_rb32(pb);
138
    channels = avio_rb32(pb);
139 139

  
140 140
    codec = ff_codec_get_id(codec_au_tags, id);
141 141

  

Also available in: Unified diff