1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22026 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-01-27 14:45:52 +00:00
parent bb131fc2ff
commit d8f2eaca08

View File

@ -601,7 +601,7 @@ demux_mkv_decode (mkv_track_t *track, uint8_t *src, uint8_t **dest,
zstream.avail_in = *size;
modified = 1;
*dest = malloc (*size);
*dest = NULL;
zstream.avail_out = *size;
do {
*size += 4000;