Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2786:6050822262f6 | 2787:8453787462c1 |
---|---|
491 | 491 |
492 asf->packet_size = PACKET_SIZE; | 492 asf->packet_size = PACKET_SIZE; |
493 asf->nb_packets = 0; | 493 asf->nb_packets = 0; |
494 | 494 |
495 asf->last_indexed_pts = 0; | 495 asf->last_indexed_pts = 0; |
496 asf->index_ptr = (ASFIndex*)av_malloc( sizeof(ASFIndex) * ASF_INDEX_BLOCK ); | 496 asf->index_ptr = av_malloc( sizeof(ASFIndex) * ASF_INDEX_BLOCK ); |
497 asf->nb_index_memory_alloc = ASF_INDEX_BLOCK; | 497 asf->nb_index_memory_alloc = ASF_INDEX_BLOCK; |
498 asf->nb_index_count = 0; | 498 asf->nb_index_count = 0; |
499 asf->maximum_packet = 0; | 499 asf->maximum_packet = 0; |
500 | 500 |
501 /* the data-chunk-size has to be 50, which is data_size - asf->data_offset | 501 /* the data-chunk-size has to be 50, which is data_size - asf->data_offset |