diff oggparsevorbis.c @ 729:9372cd60d25d libavformat

s/u_char/uint8_t/
author mru
date Sun, 10 Apr 2005 18:03:06 +0000
parents 17178af951b4
children c72bba158baa
line wrap: on
line diff
--- a/oggparsevorbis.c	Sun Apr 10 17:25:54 2005 +0000
+++ b/oggparsevorbis.c	Sun Apr 10 18:03:06 2005 +0000
@@ -133,7 +133,7 @@
     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 @@
     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