changeset 22008:ac44a63aab35

*dest = malloc (*size); is useless directly before *dest = realloc (*dest, *size);
author reimar
date Sat, 27 Jan 2007 14:45:52 +0000
parents 34daa39d77b9
children 7228d3f4db2a
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Sat Jan 27 14:10:37 2007 +0000
+++ b/libmpdemux/demux_mkv.c	Sat Jan 27 14:45:52 2007 +0000
@@ -601,7 +601,7 @@
           zstream.avail_in = *size;
 
           modified = 1;
-          *dest = malloc (*size);
+          *dest = NULL;
           zstream.avail_out = *size;
           do {
             *size += 4000;