summaryrefslogtreecommitdiff
path: root/src/spu_dec/spudec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spu_dec/spudec.c')
-rw-r--r--src/spu_dec/spudec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spu_dec/spudec.c b/src/spu_dec/spudec.c
index 3e8cd8a07..95f969aa7 100644
--- a/src/spu_dec/spudec.c
+++ b/src/spu_dec/spudec.c
@@ -209,7 +209,7 @@ void spudec_decode_nav(spudec_decoder_t *this, buf_element_t *buf) {
#endif
/* append PCI at the end of the list */
while (node->next) node = node->next;
- node->next = (pci_node_t *)xine_xmalloc(sizeof(pci_node_t));
+ node->next = malloc(sizeof(pci_node_t));
node->next->vpts = this->stream->metronom->got_spu_packet(this->stream->metronom, pci.hli.hl_gi.hli_s_ptm);
node->next->next = NULL;
xine_fast_memcpy(&node->next->pci, &pci, sizeof(pci_t));