Commit fdf33f5f authored by mru's avatar mru

s/u_char/uint8_t/


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4121 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e5eb3848
...@@ -133,7 +133,7 @@ vorbis_header (AVFormatContext * s, int idx) ...@@ -133,7 +133,7 @@ vorbis_header (AVFormatContext * s, int idx)
ogg_stream_t *os = ogg->streams + idx; ogg_stream_t *os = ogg->streams + idx;
AVStream *st = s->streams[idx]; AVStream *st = s->streams[idx];
int cds = st->codec.extradata_size + os->psize + 2; int cds = st->codec.extradata_size + os->psize + 2;
u_char *cdp; uint8_t *cdp;
if (os->seq > 2) if (os->seq > 2)
return 0; return 0;
...@@ -146,7 +146,7 @@ vorbis_header (AVFormatContext * s, int idx) ...@@ -146,7 +146,7 @@ vorbis_header (AVFormatContext * s, int idx)
st->codec.extradata_size = cds; st->codec.extradata_size = cds;
if (os->buf[os->pstart] == 1) { if (os->buf[os->pstart] == 1) {
u_char *p = os->buf + os->pstart + 11; //skip up to the audio channels uint8_t *p = os->buf + os->pstart + 11; //skip up to the audio channels
st->codec.channels = *p++; st->codec.channels = *p++;
st->codec.sample_rate = le2me_32 (unaligned32 (p)); st->codec.sample_rate = le2me_32 (unaligned32 (p));
p += 8; //skip maximum and and nominal bitrate p += 8; //skip maximum and and nominal bitrate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment