# HG changeset patch # User mru # Date 1113153954 0 # Node ID db6846a618bd4f1f6dada167d703b85e68c1a8f8 # Parent a827309802b5f597a3e866ae3ca5cec4dc9122b7 s/u_char/uint8_t/ diff -r a827309802b5 -r db6846a618bd ogg2.c --- 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);