[Ffmpeg-cvslog] CVS: ffmpeg/libavformat oggparsevorbis.c,1.1,1.2

Måns Rullgård CVS mru
Sun Apr 10 20:03:09 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv17499/libavformat

Modified Files:
	oggparsevorbis.c 
Log Message:
s/u_char/uint8_t/


Index: oggparsevorbis.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/oggparsevorbis.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- oggparsevorbis.c	9 Apr 2005 15:32:58 -0000	1.1
+++ oggparsevorbis.c	10 Apr 2005 18:03:06 -0000	1.2
@@ -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





More information about the ffmpeg-cvslog mailing list