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

reimar subversion at mplayerhq.hu
Sat Jan 27 15:45:53 CET 2007


Author: reimar
Date: Sat Jan 27 15:45:52 2007
New Revision: 22026

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
*dest = malloc (*size); is useless directly before *dest = realloc (*dest, *size);


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Sat Jan 27 15:45:52 2007
@@ -601,7 +601,7 @@
           zstream.avail_in = *size;
 
           modified = 1;
-          *dest = malloc (*size);
+          *dest = NULL;
           zstream.avail_out = *size;
           do {
             *size += 4000;



More information about the MPlayer-cvslog mailing list