Revision 056f6179

View differences:

libavformat/oggparsevorbis.c
133 133
    ogg_stream_t *os = ogg->streams + idx;
134 134
    AVStream *st = s->streams[idx];
135 135
    int cds = st->codec.extradata_size + os->psize + 2;
136
    u_char *cdp;
136
    uint8_t *cdp;
137 137

  
138 138
    if (os->seq > 2)
139 139
        return 0;
......
146 146
    st->codec.extradata_size = cds;
147 147

  
148 148
    if (os->buf[os->pstart] == 1) {
149
        u_char *p = os->buf + os->pstart + 11; //skip up to the audio channels
149
        uint8_t *p = os->buf + os->pstart + 11; //skip up to the audio channels
150 150
        st->codec.channels = *p++;
151 151
        st->codec.sample_rate = le2me_32 (unaligned32 (p));
152 152
        p += 8; //skip maximum and and nominal bitrate

Also available in: Unified diff