changeset 31176:04c61b9e94c8

Remove two pointless void* casts.
author diego
date Thu, 27 May 2010 16:13:53 +0000
parents 6c7b07731503
children 9175a9a22051
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Thu May 27 16:05:30 2010 +0000
+++ b/libmpdemux/demux_mkv.c	Thu May 27 16:13:53 2010 +0000
@@ -1963,14 +1963,13 @@
 
       if (track->a_formattag == mmioFOURCC('f', 'L', 'a', 'C'))
         {
-          ptr = (unsigned char *)track->private_data;
+          ptr = track->private_data;
           size = track->private_size;
         }
       else
         {
           sh_a->format = mmioFOURCC('f', 'L', 'a', 'C');
-          ptr = (unsigned char *) track->private_data
-            + sizeof (WAVEFORMATEX);
+          ptr = track->private_data + sizeof (WAVEFORMATEX);
           size = track->private_size - sizeof (WAVEFORMATEX);
         }
       if (size < 4 || ptr[0] != 'f' || ptr[1] != 'L' ||