Mercurial > mplayer.hg
changeset 29698:069c927d20d2
Avoid void * arithmetic.
author | reimar |
---|---|
date | Wed, 30 Sep 2009 07:54:04 +0000 |
parents | 1cd8a8e2c144 |
children | 3819fcdeaaf8 |
files | libmpdemux/demux_mkv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c Wed Sep 30 07:52:37 2009 +0000 +++ b/libmpdemux/demux_mkv.c Wed Sep 30 07:54:04 2009 +0000 @@ -1578,7 +1578,7 @@ uint32_t type2; unsigned int cnt; - src = track->private_data + RVPROPERTIES_SIZE; + src = (uint8_t *)track->private_data + RVPROPERTIES_SIZE; cnt = track->private_size - RVPROPERTIES_SIZE; bih = realloc(bih, sizeof (BITMAPINFOHEADER)+8+cnt);