diff asf-enc.c @ 2787:8453787462c1 libavformat

stupid code (casting of void*) found by checktree.sh
author michael
date Sat, 01 Dec 2007 00:19:44 +0000
parents d52c718e83f9
children 004fde969543
line wrap: on
line diff
--- a/asf-enc.c	Sat Dec 01 00:07:51 2007 +0000
+++ b/asf-enc.c	Sat Dec 01 00:19:44 2007 +0000
@@ -493,7 +493,7 @@
     asf->nb_packets = 0;
 
     asf->last_indexed_pts = 0;
-    asf->index_ptr = (ASFIndex*)av_malloc( sizeof(ASFIndex) * ASF_INDEX_BLOCK );
+    asf->index_ptr = av_malloc( sizeof(ASFIndex) * ASF_INDEX_BLOCK );
     asf->nb_index_memory_alloc = ASF_INDEX_BLOCK;
     asf->nb_index_count = 0;
     asf->maximum_packet = 0;