[MPlayer-cvslog] r20135 - trunk/libmpdemux/demux_mkv.c

reimar subversion at mplayerhq.hu
Mon Oct 9 19:48:43 CEST 2006


Author: reimar
Date: Mon Oct  9 19:48:43 2006
New Revision: 20135

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
Remove cast of realloc result missed in last patch


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Mon Oct  9 19:48:43 2006
@@ -841,7 +841,7 @@
             for (i=0; i<n; i++)
               if (e.order <= ce[i].order)
                 break;
-            ce = (mkv_content_encoding_t *) realloc (ce, (n+1) *sizeof (*ce));
+            ce = realloc (ce, (n+1) *sizeof (*ce));
             memmove (ce+i+1, ce+i, (n-i) * sizeof (*ce));
             memcpy (ce+i, &e, sizeof (e));
             n++;



More information about the MPlayer-cvslog mailing list