[MPlayer-cvslog] r29740 - trunk/libmpdemux/demux_mkv.c
reimar
subversion at mplayerhq.hu
Wed Sep 30 09:54:04 CEST 2009
Author: reimar
Date: Wed Sep 30 09:54:04 2009
New Revision: 29740
Log:
Avoid void * arithmetic.
Modified:
trunk/libmpdemux/demux_mkv.c
Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c Wed Sep 30 09:52:37 2009 (r29739)
+++ trunk/libmpdemux/demux_mkv.c Wed Sep 30 09:54:04 2009 (r29740)
@@ -1578,7 +1578,7 @@ demux_mkv_open_video (demuxer_t *demuxer
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);
More information about the MPlayer-cvslog
mailing list