changeset 30696:71c816ff3ab4

Add cast to proper type.
author reimar
date Thu, 25 Feb 2010 22:44:02 +0000
parents a26f6577d338
children 9a49143918aa
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Thu Feb 25 22:32:28 2010 +0000
+++ b/libmpdemux/demux_ogg.c	Thu Feb 25 22:44:02 2010 +0000
@@ -1251,7 +1251,7 @@
   demux_packet_t *dp;
   sh_audio_t *sh_audio = demuxer->audio->sh;
   int np;
-  uint8_t *extradata = sh_audio->wf + 1;
+  uint8_t *extradata = (uint8_t *)(sh_audio->wf + 1);
   int i;
   unsigned char *p = NULL,*buf;
   int plen;