Remove cast of realloc result missed in last patch

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20135 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-10-09 17:48:43 +00:00
parent 4f58754e78
commit 3b81347247
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ demux_mkv_read_trackencodings (demuxer_t *demuxer, mkv_track_t *track)
for (i=0; i<n; i++) for (i=0; i<n; i++)
if (e.order <= ce[i].order) if (e.order <= ce[i].order)
break; 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)); memmove (ce+i+1, ce+i, (n-i) * sizeof (*ce));
memcpy (ce+i, &e, sizeof (e)); memcpy (ce+i, &e, sizeof (e));
n++; n++;