aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/ogg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ogg2.c b/libavformat/ogg2.c
index b29bfe9cab..1a0eb38821 100644
--- a/libavformat/ogg2.c
+++ b/libavformat/ogg2.c
@@ -210,7 +210,7 @@ static int
ogg_new_buf(ogg_t *ogg, int idx)
{
ogg_stream_t *os = ogg->streams + idx;
- u_char *nb = av_malloc(os->bufsize);
+ uint8_t *nb = av_malloc(os->bufsize);
int size = os->bufpos - os->pstart;
if(os->buf){
memcpy(nb, os->buf + os->pstart, size);