summaryrefslogtreecommitdiff
path: root/libavformat/oggparsevorbis.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-04-10 18:03:06 +0000
committerMåns Rullgård <mans@mansr.com>2005-04-10 18:03:06 +0000
commit056f6179f0eb26c2ab37f91527ad0ff29e513713 (patch)
treeb0a45dd45ab5ee8f3272895276f1105b805181ab /libavformat/oggparsevorbis.c
parent2d2f443d5303aaee194e4c7de2cbda715f0266aa (diff)
s/u_char/uint8_t/
Originally committed as revision 4121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparsevorbis.c')
-rw-r--r--libavformat/oggparsevorbis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c
index 0c765e2b83..539f80ab94 100644
--- a/libavformat/oggparsevorbis.c
+++ b/libavformat/oggparsevorbis.c
@@ -133,7 +133,7 @@ vorbis_header (AVFormatContext * s, int idx)
ogg_stream_t *os = ogg->streams + idx;
AVStream *st = s->streams[idx];
int cds = st->codec.extradata_size + os->psize + 2;
- u_char *cdp;
+ uint8_t *cdp;
if (os->seq > 2)
return 0;
@@ -146,7 +146,7 @@ vorbis_header (AVFormatContext * s, int idx)
st->codec.extradata_size = cds;
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.sample_rate = le2me_32 (unaligned32 (p));
p += 8; //skip maximum and and nominal bitrate