# HG changeset patch # User michael # Date 1196468384 0 # Node ID 8453787462c1904dc0497ed53f49abd2ac8cddc0 # Parent 6050822262f60aa242ac7e555b5926c9511c46d7 stupid code (casting of void*) found by checktree.sh diff -r 6050822262f6 -r 8453787462c1 asf-enc.c --- 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;