changeset 2787:8453787462c1 libavformat

stupid code (casting of void*) found by checktree.sh
author michael
date Sat, 01 Dec 2007 00:19:44 +0000
parents 6050822262f6
children f66d29c833a6
files asf-enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;