[Ffmpeg-cvslog] CVS: ffmpeg/libavformat ogg2.c,1.2,1.3

Måns Rullgård CVS mru
Sun Apr 10 19:25:56 CEST 2005


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

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


Index: ogg2.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/ogg2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ogg2.c	9 Apr 2005 23:27:48 -0000	1.2
+++ ogg2.c	10 Apr 2005 17:25:54 -0000	1.3
@@ -149,7 +149,7 @@
 }
 
 static ogg_codec_t *
-ogg_find_codec (u_char * buf, int size)
+ogg_find_codec (uint8_t * buf, int size)
 {
     int i;
 
@@ -283,7 +283,7 @@
     }
 
     if (os->bufsize - os->bufpos < size){
-        u_char *nb = av_malloc (os->bufsize *= 2);
+        uint8_t *nb = av_malloc (os->bufsize *= 2);
         memset (nb, 0, os->bufsize);
         memcpy (nb, os->buf, os->bufpos);
         av_free (os->buf);
@@ -358,7 +358,7 @@
         }
 
         if (!complete && os->segp == os->nsegs){
-            u_char *nb = av_malloc (os->bufsize);
+            uint8_t *nb = av_malloc (os->bufsize);
             int size = os->bufpos - os->pstart;
             memset (nb, 0, os->bufsize);
             memcpy (nb, os->buf + os->pstart, size);





More information about the ffmpeg-cvslog mailing list