changeset 728:db6846a618bd libavformat

s/u_char/uint8_t/
author mru
date Sun, 10 Apr 2005 17:25:54 +0000
parents a827309802b5
children 9372cd60d25d
files ogg2.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ogg2.c	Sat Apr 09 23:27:48 2005 +0000
+++ b/ogg2.c	Sun Apr 10 17:25:54 2005 +0000
@@ -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);