Commit e5eb3848 authored by mru's avatar mru

s/u_char/uint8_t/


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4120 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dbd060a6
...@@ -149,7 +149,7 @@ ogg_reset (ogg_t * ogg) ...@@ -149,7 +149,7 @@ ogg_reset (ogg_t * ogg)
} }
static ogg_codec_t * static ogg_codec_t *
ogg_find_codec (u_char * buf, int size) ogg_find_codec (uint8_t * buf, int size)
{ {
int i; int i;
...@@ -283,7 +283,7 @@ ogg_read_page (AVFormatContext * s, int *str) ...@@ -283,7 +283,7 @@ ogg_read_page (AVFormatContext * s, int *str)
} }
if (os->bufsize - os->bufpos < size){ 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); memset (nb, 0, os->bufsize);
memcpy (nb, os->buf, os->bufpos); memcpy (nb, os->buf, os->bufpos);
av_free (os->buf); av_free (os->buf);
...@@ -358,7 +358,7 @@ ogg_packet (AVFormatContext * s, int *str) ...@@ -358,7 +358,7 @@ ogg_packet (AVFormatContext * s, int *str)
} }
if (!complete && os->segp == os->nsegs){ 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; int size = os->bufpos - os->pstart;
memset (nb, 0, os->bufsize); memset (nb, 0, os->bufsize);
memcpy (nb, os->buf + os->pstart, size); memcpy (nb, os->buf + os->pstart, size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment