diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-12-01 00:19:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-12-01 00:19:44 +0000 |
commit | 90901860c21468d6e9ae437c2bacb099c7bd3acf (patch) | |
tree | fec0acd1392c465c3717ff4b2aa9b911f1667b1c /libavformat/asf-enc.c | |
parent | 7fffc879798bbbad647ad2b1b30f26855bf2abda (diff) | |
download | ffmpeg-90901860c21468d6e9ae437c2bacb099c7bd3acf.tar.gz |
stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf-enc.c')
-rw-r--r-- | libavformat/asf-enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf-enc.c b/libavformat/asf-enc.c index 407dfd91f4..0e9aa9df45 100644 --- a/libavformat/asf-enc.c +++ b/libavformat/asf-enc.c @@ -493,7 +493,7 @@ static int asf_write_header(AVFormatContext *s) 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; |