summaryrefslogtreecommitdiff
path: root/libavformat/ogg2.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-04-10 17:25:54 +0000
committerMåns Rullgård <mans@mansr.com>2005-04-10 17:25:54 +0000
commit2d2f443d5303aaee194e4c7de2cbda715f0266aa (patch)
tree02175cde8f4375c96a123503888813d423cf9ac4 /libavformat/ogg2.c
parentf5a719287de251df7bac3800f8411c434b18b7ca (diff)
s/u_char/uint8_t/
Originally committed as revision 4120 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ogg2.c')
-rw-r--r--libavformat/ogg2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ogg2.c b/libavformat/ogg2.c
index 065d3bc0a6..2d88a92bcf 100644
--- a/libavformat/ogg2.c
+++ b/libavformat/ogg2.c
@@ -149,7 +149,7 @@ ogg_reset (ogg_t * ogg)
}
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 @@ ogg_read_page (AVFormatContext * s, int *str)
}
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 @@ ogg_packet (AVFormatContext * s, int *str)
}
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);